CVE-2025-57852 Details
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.
A privilege escalation vulnerability has been identified in KServe ModelMesh container images. The issue arises because the /etc/passwd file is created with group-writable permissions during the build process. This vulnerability allows an attacker, even as a non-root user, to exploit their membership in the root group to modify the /etc/passwd file. By doing so, the attacker could add a new user with any arbitrary UID, including UID 0, thereby gaining full root privileges within the container.
Users can apply the restricted-v2 security context constraint (SCC) profile, which mitigates this vulnerability by removing SETUID and SETGID privileges, blocking certain system calls, and preventing privilege escalation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 30, 2025CISA-ADP
Assessed Sep 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-276 | Incorrect Default Permissions | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| KServe ModelMesh | All versions |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 7, 2026 | CVE Modified | [email protected] |
| Nov 7, 2025 | CVE Modified | [email protected] |
| Oct 2, 2025 | CVE Modified | [email protected] |
| Oct 2, 2025 | CVE Modified | [email protected] |
| Oct 1, 2025 | CVE Modified | [email protected] |
| Sep 30, 2025 | New CVE Received | [email protected] |
Volerion