# Openshift-ai: privilege escalation via excessive /etc/passwd permissions

CVE record · `CVE-2025-57852`

- **Identifiers:** `CVE-2025-57852`
- **State:** Confirmed
- **Severity:** CVSS 6.4 Medium
- **Critical:** No
- **CNA:** redhat
- **Weakness (CWE):** [CWE-276](https://cwe.mitre.org/data/definitions/276.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Technologies:** [Red Hat OpenShift AI 2.16](https://agentprime.io/advisories/technology/red-hat-openshift-ai-2-16.md) · [Red Hat OpenShift AI 2.19](https://agentprime.io/advisories/technology/red-hat-openshift-ai-2-19.md) · [Red Hat OpenShift AI 2.21](https://agentprime.io/advisories/technology/red-hat-openshift-ai-2-21.md) · [Red Hat OpenShift AI 2.22](https://agentprime.io/advisories/technology/red-hat-openshift-ai-2-22.md) · [Red Hat OpenShift AI 2.24](https://agentprime.io/advisories/technology/red-hat-openshift-ai-2-24.md)
- **Published:** 30 Sept 2025
- **Updated:** 6 Mar 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: redhat) at 30 Sept 2025, 14:37 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Red Hat. Product: Red Hat OpenShift AI 2.16.
  - unaffected: `sha256:97e2bd9b587f08e135a9aeb9b3e0dc6eafa1a9bdacbb5ecb681ce9bd5aa37fc9 to before *` (rpm)
  - Other versions: affected
  - Package name: `rhoai/odh-modelmesh-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat OpenShift AI 2.19.
  - unaffected: `sha256:53ac36baa374159b9065c718a9ede821bbb61d9ebe9502b2243e0a9f7aca0d16 to before *` (rpm)
  - Other versions: affected
  - Package name: `rhoai/odh-modelmesh-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat OpenShift AI 2.21.
  - unaffected: `sha256:687c8eeed55f021ecaab1307f0e88b5b16d91f72d63b3d7168d7bbee90e8947b to before *` (rpm)
  - Other versions: affected
  - Package name: `rhoai/odh-modelmesh-rhel9`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat OpenShift AI 2.22.
  - unaffected: `sha256:1709fa3c79aad4ba7eb9be8299949396092c8e20210124e0c0936385bc04e839 to before *` (rpm)
  - Other versions: affected
  - Package name: `rhoai/odh-modelmesh-rhel9`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat OpenShift AI 2.24.
  - unaffected: `sha256:92629b1462ca2ed121dd2f3069a005d78e00e1344d330d6a8710f53ec58b74b8 to before *` (rpm)
  - Other versions: affected
  - Package name: `rhoai/odh-modelmesh-rhel9`
  - Collection: `https://catalog.redhat.com/software/containers/`

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 6.4 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`, from CNA (redhat)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0016, the 4th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 30 Sept 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2025-57852](https://www.cve.org/CVERecord?id=CVE-2025-57852)
- [NVD: CVE-2025-57852](https://nvd.nist.gov/vuln/detail/CVE-2025-57852)

### References from the CNA

- <https://access.redhat.com/errata/RHSA-2025:16981> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:16982> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:16983> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:16984> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:17501> (vendor-advisory, redhat)
- <https://access.redhat.com/security/cve/CVE-2025-57852> (vdb-entry, redhat)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2391105> (issue-tracking, redhat)

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-57852>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-57852/>. Everything for agents: <https://agentprime.io/llms.txt>.
