CVE-2025-57852Openshift-ai: privilege escalation via excessive /etc/passwd permissions
- 6.4MediumCVSS base score
- 0.16%Exploitation in 30 daysEPSS · top 95% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
A container privilege escalation flaw was found in KServe ModelMesh container images. This issue stems from the /etc/passwd file being created with group-writable permissions during build time. In certain conditions, an attacker who can execute commands within an affected container, even as a non-root user, can leverage their membership in the root group to modify the /etc/passwd file. This could allow the attacker to add a new user with any arbitrary UID, including UID 0, leading to full root privileges within the container.
Timeline
ID reserved
By redhat
- 40 days later
· 40 days later
Published
- 5 months later
· 5 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium6.4 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | Medium6.4 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.16% · top 95% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.4.
Affected products
Red Hat · Red Hat OpenShift AI 2.16
- unaffected sha256:97e2bd9b587f08e135a9aeb9b3e0dc6eafa1a9bdacbb5ecb681ce9bd5aa37fc9 – < *
Red Hat · Red Hat OpenShift AI 2.19
- unaffected sha256:53ac36baa374159b9065c718a9ede821bbb61d9ebe9502b2243e0a9f7aca0d16 – < *
Red Hat · Red Hat OpenShift AI 2.21
- unaffected sha256:687c8eeed55f021ecaab1307f0e88b5b16d91f72d63b3d7168d7bbee90e8947b – < *
Red Hat · Red Hat OpenShift AI 2.22
- unaffected sha256:1709fa3c79aad4ba7eb9be8299949396092c8e20210124e0c0936385bc04e839 – < *
Red Hat · Red Hat OpenShift AI 2.24
- unaffected sha256:92629b1462ca2ed121dd2f3069a005d78e00e1344d330d6a8710f53ec58b74b8 – < *
References
References7
- RHSA-2025:16981 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2025:16982 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2025:16983 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2025:16984 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2025:17501 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-57852 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2391105 (opens in a new tab)issue-trackingx_refsource_REDHAT
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-31743 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-57852)Record last updated .