CVE-2025-57852
mediumpriority · track · 0OT risk · elevatedEPSS 0.002 · 5 %ileEUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedregistry.redhat.io/rhoai/odh-modelmesh-rhel9@sha256:687c8eeed55f021ecaab1307f0e88b5b16d91f72d63b3d7168d7bbee90e8947b_amd64 as a component of Red Hat OpenShift AI 2.21redhat_csaf
For Red Hat OpenShift AI 2.21.0 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
https://access.redhat.com/errata/RHBA-2025:16983 - Fixedregistry.redhat.io/rhoai/odh-modelmesh-rhel8@sha256:53ac36baa374159b9065c718a9ede821bbb61d9ebe9502b2243e0a9f7aca0d16_amd64 as a component of Red Hat OpenShift AI 2.19redhat_csaf
For Red Hat OpenShift AI 2.19.0 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
https://access.redhat.com/errata/RHBA-2025:16984
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (24)
Products and version ranges known to be affected.
- Red Hat Red Hat OpenShift AI 2.16< sha256:97e2bd9b587f08e135a9aeb9b3e0dc6eafa1a9bdacbb5ecb681ce9bd5aa37fc9enisa_euvdEU
- Red Hat Red Hat OpenShift AI 2.19< sha256:53ac36baa374159b9065c718a9ede821bbb61d9ebe9502b2243e0a9f7aca0d16enisa_euvdEU
- Red Hat Red Hat OpenShift AI 2.21< sha256:687c8eeed55f021ecaab1307f0e88b5b16d91f72d63b3d7168d7bbee90e8947benisa_euvdEU
- Red Hat Red Hat OpenShift AI 2.22< sha256:1709fa3c79aad4ba7eb9be8299949396092c8e20210124e0c0936385bc04e839enisa_euvdEU
- Red Hat Red Hat OpenShift AI 2.24< sha256:92629b1462ca2ed121dd2f3069a005d78e00e1344d330d6a8710f53ec58b74b8enisa_euvdEU
advisories (2)
Vendor and ecosystem advisories describing this.
- RHBA-2025:16983Red Hat Bug Fix Advisory: RHOAI 2.21.0 - Red Hat OpenShift AI2025-09-29csaf · redhat_csafUS
Updated images are now available for Red Hat OpenShift AI.
- RHBA-2025:16984Red Hat Bug Fix Advisory: RHOAI 2.19.0 - Red Hat OpenShift AI2025-09-29csaf · redhat_csafUS
Updated images are now available for Red Hat OpenShift AI.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (20)
External citations — patches, advisories, analysis.
- https://access.redhat.com/errata/RHSA-2025:16981cnnvd
- https://access.redhat.com/errata/RHSA-2025:16982cnnvd
- https://access.redhat.com/errata/RHSA-2025:16983cnnvd
- https://access.redhat.com/errata/RHSA-2025:16984cnnvd
- https://access.redhat.com/security/cve/CVE-2025-57852cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2391105cnnvd
- https://access.redhat.com/errata/RHSA-2025:16981enisa_euvd
- https://access.redhat.com/errata/RHSA-2025:16982enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan