CVE-2025-4374 - Incorrect Privilege Assignment

Severity

65%

Complexity

39%

Confidentiality

41%

A flaw was found in Quay. When an organization acts as a proxy cache, and a user or robot pulls an image that hasn't been mirrored yet, they are granted "Admin" permissions on the newly created repository.

CVSS 3.1 Base Score 6.5. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N).

Demo Examples

Incorrect Privilege Assignment

CWE-266

Evidence of privilege change:


               
seteuid(getuid());/* do some stuff */

               
}
// privileged code goes here, for example:// nothing to return

Incorrect Privilege Assignment

CWE-266

This application sends a special intent with a flag that allows the receiving application to read a data file for backup purposes.


               
sendBroadcast(intent);

               
}
}
stealUserData(userData);

Any malicious application can register to receive this intent. Because of the FLAG_GRANT_READ_URI_PERMISSION included with the intent, the malicious receiver code can read the user's data.

Overview

First reported 3 months ago

2025-05-06 15:16:00

Last updated 2 weeks ago

2025-07-31 18:00:00

Affected Software

Red Hat Quay

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.