CVE-2025-57848
A container privilege escalation flaw was found in certain …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- access.redhat.com/security/cve/CVE-2025-57848
- bugzilla.redhat.com/show_bug.cgi?id=2391099
- access.redhat.com/errata/RHEA-2025:19904
- access.redhat.com/errata/RHEA-2025:21119
- access.redhat.com/errata/RHEA-2025:21677
- access.redhat.com/errata/RHEA-2025:22750
- access.redhat.com/errata/RHEA-2026:0511
- access.redhat.com/errata/RHEA-2025:20007
- nvd.nist.gov/vuln/detail/CVE-2025-57848
- cve.org/CVERecord?id=CVE-2025-57848
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.