CVE-2025-57848 Details
Description
A container privilege escalation flaw was found in certain Container-native Virtualization 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 certain Container-native Virtualization images. The issue arises because the /etc/passwd file is created with group-writable permissions during the build process. This vulnerability allows an attacker who can execute commands within an affected container, 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 from processes within the container, 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 Oct 23, 2025CISA-ADP
Assessed Oct 25, 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 |
|---|---|
| Red Hat Container-native Virtualization | All versions |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 30, 2026 | CVE Modified | [email protected] |
| Oct 8, 2026 | CVE Translated | [email protected] |
| Aug 6, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Mar 7, 2026 | CVE Modified | [email protected] |
| Oct 23, 2025 | New CVE Received | [email protected] |
Volerion