CVE-2025-57848
A container privilege escalation flaw was found in certain Container-native Virtualization images...
Impact
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.
Affected packages
This record carries no package version data, so it cannot be matched against a dependency list automatically. Read the advisory and compare your version by hand.
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-4c2p-6qpx-xc78
- https://nvd.nist.gov/vuln/detail/CVE-2025-57848
- https://access.redhat.com/security/cve/CVE-2025-57848
- https://bugzilla.redhat.com/show_bug.cgi?id=2391099
- https://access.redhat.com/errata/RHEA-2025:19904
- https://access.redhat.com/errata/RHEA-2025:21119
- https://access.redhat.com/errata/RHEA-2025:21677
- https://access.redhat.com/errata/RHEA-2025:22750
- https://access.redhat.com/errata/RHEA-2026:0511
- https://access.redhat.com/errata/RHEA-2025:20007