Skip to content
MediumVulnerability

CVE-2025-57852: KServe ModelMesh container privilege escalation through writable /etc/passwd

Identifier
CVE-2025-57852
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

A container privilege escalation flaw exists in KServe ModelMesh container images. The /etc/passwd file is created with group-writable permissions at build time, so an attacker who can run commands in an affected container, even as a non-root user, can use root group membership to edit it. This can add a user with any UID, including UID 0, granting full root privileges inside the container.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.