Medium severity · published Sep 30, 2025
CVE-2025-57852
Openshift-ai: privilege escalation via excessive /etc/passwd permissions
6.4
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
High
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 5% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RH
Red Hat OpenShift AI 2.16 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat OpenShift AI 2.19 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat OpenShift AI 2.21 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat OpenShift AI 2.22 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat OpenShift AI 2.24 · Red Hat
All versions, or not specified · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-57852
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-57852
access.redhat.com
https://access.redhat.com/errata/RHSA-2025:16981
access.redhat.com
https://access.redhat.com/errata/RHSA-2025:16982
access.redhat.com
https://access.redhat.com/errata/RHSA-2025:16983
access.redhat.com
https://access.redhat.com/errata/RHSA-2025:16984
access.redhat.com
https://access.redhat.com/errata/RHSA-2025:17501
access.redhat.com
https://access.redhat.com/security/cve/CVE-2025-57852
More from Red Hat OpenShift AI 2.16
9.9
CVE-2026-5483
Odh-dashboard: odh dashboard kubernetes service account exposure
9.9
CVE-2025-10725
Openshift-ai: overly permissive clusterrole allows authenticated users to escalate privileges to cluster admin
7.5
CVE-2026-2229
undici is vulnerable to Unhandled Exception in undici WebSocket Client Due to Invalid server_max_window_bits Validation
7.5
CVE-2026-1528
undici is vulnerable to Malicious WebSocket 64-bit length overflows undici parser and crashes the client
7.5
CVE-2026-1526
undici is vulnerable to Unbounded Memory Consumption in undici WebSocket permessage-deflate Decompression
