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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 24 Oct 2025 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 23 Oct 2025 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 23 Oct 2025 20:15:00 +0000

Type Values Removed Values Added
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.
Title Container-native-virtualization: privilege escalation via excessive /etc/passwd permissions
First Time appeared Redhat
Redhat container Native Virtualization
Weaknesses CWE-276
CPEs cpe:/a:redhat:container_native_virtualization:4
Vendors & Products Redhat
Redhat container Native Virtualization
References
Metrics cvssV3_1

{'score': 5.2, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2025-10-23T20:34:44.580Z

Reserved: 2025-08-21T14:40:40.822Z

Link: CVE-2025-57848

cve-icon Vulnrichment

Updated: 2025-10-23T20:34:40.883Z

cve-icon NVD

Status : Received

Published: 2025-10-23T20:15:40.287

Modified: 2025-10-23T20:15:40.287

Link: CVE-2025-57848

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-10-23T19:55:00Z

Links: CVE-2025-57848 - Bugzilla

cve-icon OpenCVE Enrichment

No data.