{"id":"CVE-2025-57852","aliases":[],"summary":"Openshift-ai: privilege escalation via excessive /etc/passwd permissions","published_at":"2025-09-30T14:25:00Z","modified_at":"2026-03-16T08:31:17Z","products":[{"slug":"openshift","name":"OpenShift","category":"kubernetes-container"}],"rating":{"severity":"medium","score":6.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","attack_path":"local","user_interaction":false,"malicious":false,"red_hat":"Low","vendor_ratings":[{"source":"Red Hat","rating":"Low"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0015699999639764428,"percentile":0.04901999980211258,"date":"2026-11-19T00:00:00Z"},"priority":5.9,"details":"A container privilege escalation flaw was found in KServe ModelMesh container 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_stack":[{"ecosystem":"CVE","package":"Red Hat/Red Hat OpenShift AI 2.16","provider":"cvelistv5","source":"CVE-2025-57852","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat OpenShift AI 2.19","provider":"cvelistv5","source":"CVE-2025-57852","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat OpenShift AI 2.21","provider":"cvelistv5","source":"CVE-2025-57852","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat OpenShift AI 2.22","provider":"cvelistv5","source":"CVE-2025-57852","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat OpenShift AI 2.24","provider":"cvelistv5","source":"CVE-2025-57852","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.16","cpe":"cpe:/a:redhat:openshift_ai:2.16::el8","status":"fixed","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:16981"],"provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.16","cpe":"cpe:/a:redhat:openshift_ai:2.16::el8","status":"not_affected","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.19","cpe":"cpe:/a:redhat:openshift_ai:2.19::el8","status":"fixed","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:16984"],"provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.19","cpe":"cpe:/a:redhat:openshift_ai:2.19::el8","status":"not_affected","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.21","cpe":"cpe:/a:redhat:openshift_ai:2.21::el9","status":"fixed","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:16983"],"provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.21","cpe":"cpe:/a:redhat:openshift_ai:2.21::el9","status":"not_affected","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.22","cpe":"cpe:/a:redhat:openshift_ai:2.22::el9","status":"fixed","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:16982"],"provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.22","cpe":"cpe:/a:redhat:openshift_ai:2.22::el9","status":"not_affected","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.24","cpe":"cpe:/a:redhat:openshift_ai:2.24::el9","status":"fixed","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:17501"],"provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.24","cpe":"cpe:/a:redhat:openshift_ai:2.24::el9","status":"not_affected","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-57852"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2025-57852","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2025-57852","license":"CC-BY-4.0","published_at":"2025-09-30T14:37:10.024Z","modified_at":"2026-03-06T23:45:29.053Z","summary":"Openshift-ai: privilege escalation via excessive /etc/passwd permissions","details":"A container privilege escalation flaw was found in KServe ModelMesh container 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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2025-57852"}],"affected":[{"ecosystem":"CVE","package":"Red Hat/Red Hat OpenShift AI 2.16","provider":"cvelistv5","source":"CVE-2025-57852","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat OpenShift AI 2.19","provider":"cvelistv5","source":"CVE-2025-57852","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat OpenShift AI 2.21","provider":"cvelistv5","source":"CVE-2025-57852","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat OpenShift AI 2.22","provider":"cvelistv5","source":"CVE-2025-57852","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat OpenShift AI 2.24","provider":"cvelistv5","source":"CVE-2025-57852","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:16981"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:16982"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:16983"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:16984"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:17501"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-57852"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2391105"}]},{"provider":"redhat-vex","source_id":"CVE-2025-57852","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2025-57852","license":"CC-BY-4.0","published_at":"2025-09-30T14:25:00Z","modified_at":"2026-03-16T08:31:17Z","summary":"openshift-ai: privilege escalation via excessive /etc/passwd permissions","details":"A container privilege escalation flaw was found in KServe ModelMesh container 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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2025-57852"},{"type":"Red Hat","score":"Low","source":"CVE-2025-57852"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.16","cpe":"cpe:/a:redhat:openshift_ai:2.16::el8","status":"fixed","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:16981"],"provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.16","cpe":"cpe:/a:redhat:openshift_ai:2.16::el8","status":"not_affected","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.19","cpe":"cpe:/a:redhat:openshift_ai:2.19::el8","status":"fixed","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:16984"],"provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.19","cpe":"cpe:/a:redhat:openshift_ai:2.19::el8","status":"not_affected","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.21","cpe":"cpe:/a:redhat:openshift_ai:2.21::el9","status":"fixed","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:16983"],"provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.21","cpe":"cpe:/a:redhat:openshift_ai:2.21::el9","status":"not_affected","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.22","cpe":"cpe:/a:redhat:openshift_ai:2.22::el9","status":"fixed","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:16982"],"provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.22","cpe":"cpe:/a:redhat:openshift_ai:2.22::el9","status":"not_affected","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.24","cpe":"cpe:/a:redhat:openshift_ai:2.24::el9","status":"fixed","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:17501"],"provider":"redhat-vex","source":"CVE-2025-57852"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.24","cpe":"cpe:/a:redhat:openshift_ai:2.24::el9","status":"not_affected","packages":["rhoai"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-57852"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-57852.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-57852"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2391105"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-57852"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57852"}]}],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:16981"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:16982"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:16983"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:16984"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:17501"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-57852"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2391105"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-57852.json"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-57852"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57852"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2025-57852","url":"https://www.cve.org/CVERecord?id=CVE-2025-57852","license":"CC-BY-4.0","modified_at":"2026-03-06T23:45:29.053Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2025-57852","url":"https://access.redhat.com/security/cve/CVE-2025-57852","license":"CC-BY-4.0","modified_at":"2026-03-16T08:31:17Z","relation":"self"}]}
