# CVE-2025-57851: Mce: privilege escalation via excessive /etc/passwd permissions

- Severity: Medium 6.4 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-04-08T13:55:00.925Z
- Modified: 2026-07-24T20:10:00.147Z
- Weaknesses: CWE-276
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

A container privilege escalation flaw was found in certain Multicluster Engine for Kubernetes 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.

(As written by CVE List.)

## Affected

- multicluster-engine/agent-service-rhel8: no versions given
- multicluster-engine/assisted-service-8-rhel8: no versions given
- multicluster-engine/assisted-service-9-rhel9: no versions given
- redhat advanced_cluster_management_for_kubernetes: no versions given

## Every score

- redhat: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://access.redhat.com/security/cve/CVE-2025-57851> (vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2391104> (issue-tracking, vendor-advisory)

## Sources

- CVE List: [CVE-2025-57851](https://www.cve.org/CVERecord?id=CVE-2025-57851), CVE Terms of Use, modified 2026-05-01
- NVD: [CVE-2025-57851](https://nvd.nist.gov/vuln/detail/CVE-2025-57851), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2025-57851 · Whole record: https://cve.day/CVE-2025-57851.json · Rebuilt by cve.day 2026-11-25T22:59:12.048Z
