# Ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions

CVE record · `CVE-2025-57847`

- **Identifiers:** `CVE-2025-57847`
- **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 Ansible Automation Platform 2.16](https://agentprime.io/advisories/technology/red-hat-ansible-automation-platform-2-16.md) · [Red Hat Ansible Automation Platform 2.18](https://agentprime.io/advisories/technology/red-hat-ansible-automation-platform-2-18.md) · [Red Hat Ansible Automation Platform 2.5](https://agentprime.io/advisories/technology/red-hat-ansible-automation-platform-2-5.md) · [Red Hat Ansible Automation Platform 2.6](https://agentprime.io/advisories/technology/red-hat-ansible-automation-platform-2-6.md) · [Red Hat Ansible Automation Platform 2.7](https://agentprime.io/advisories/technology/red-hat-ansible-automation-platform-2-7.md) · [Red Hat Ansible Automation Platform 2](https://agentprime.io/advisories/technology/red-hat-ansible-automation-platform-2.md) · [Red Hat Ansible Automation Platform Ansible Core 2](https://agentprime.io/advisories/technology/red-hat-ansible-automation-platform-ansible-core-2.md)
- **Published:** 8 Apr 2026
- **Updated:** 13 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: redhat) at 8 Apr 2026, 13:55 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 Ansible Automation Platform 2.16.
  - unaffected: `1789001438 to before *` (rpm)
  - Other versions: affected
  - Package name: `ansible-automation-platform/ee-minimal-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.16.
  - unaffected: `1789023765 to before *` (rpm)
  - Other versions: affected
  - Package name: `ansible-automation-platform/ee-minimal-rhel9`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.18.
  - unaffected: `1789023329 to before *` (rpm)
  - Other versions: affected
  - Package name: `ansible-automation-platform/ee-minimal-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.18.
  - unaffected: `1789001715 to before *` (rpm)
  - Other versions: affected
  - Package name: `ansible-automation-platform/ee-minimal-rhel9`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.5.
  - unaffected: `1784035663 to before *` (rpm)
  - Other versions: affected
  - Package name: `ansible-automation-platform-25/ee-minimal-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.5.
  - unaffected: `1789634812 to before *` (rpm)
  - Other versions: affected
  - Package name: `ansible-automation-platform-25/de-minimal-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.5.
  - unaffected: `1784051694 to before *` (rpm)
  - Other versions: affected
  - Package name: `ansible-automation-platform-25/ee-minimal-rhel9`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.5.
  - unaffected: `1789654540 to before *` (rpm)
  - Other versions: affected
  - Package name: `ansible-automation-platform-25/de-minimal-rhel9`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.6.
  - unaffected: `1789658734 to before *` (rpm)
  - Other versions: affected
  - Package name: `ansible-automation-platform-26/de-minimal-rhel9`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.6.
  - unaffected: `1789661423 to before *` (rpm)
  - Other versions: affected
  - Package name: `ansible-automation-platform-26/de-supported-rhel9`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.6.
  - unaffected: `1789654312 to before *` (rpm)
  - Other versions: affected
  - Package name: `ansible-automation-platform-26/ee-minimal-rhel9`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.7.
  - unaffected: `1788901236 to before *` (rpm)
  - Other versions: affected
  - Package name: `ansible-automation-platform-27/ee-minimal-rhel9`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.7.
  - unaffected: `1789582543 to before *` (rpm)
  - Other versions: affected
  - Package name: `ansible-automation-platform-27/de-minimal-rhel9`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.7.
  - unaffected: `1789584820 to before *` (rpm)
  - Other versions: affected
  - Package name: `ansible-automation-platform-27/de-supported-rhel9`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.
  - No versions given
  - Other versions: affected
  - Package name: `ansible-automation-platform-24/controller-rhel8`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.
  - No versions given
  - Other versions: unaffected
  - Package name: `ansible-automation-platform-24/de-minimal-rhel8`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.
  - No versions given
  - Other versions: unaffected
  - Package name: `ansible-automation-platform-24/de-minimal-rhel9`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.
  - No versions given
  - Other versions: affected
  - Package name: `ansible-automation-platform-24/ee-29-rhel8`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.
  - No versions given
  - Other versions: affected
  - Package name: `ansible-automation-platform-24/ee-minimal-rhel8`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.
  - No versions given
  - Other versions: affected
  - Package name: `ansible-automation-platform-24/ee-minimal-rhel9`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.
  - No versions given
  - Other versions: affected
  - Package name: `ansible-automation-platform-25/ansible-dev-tools-rhel8`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.
  - No versions given
  - Other versions: affected
  - Package name: `ansible-automation-platform-25/controller-rhel8-operator`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.
  - No versions given
  - Other versions: affected
  - Package name: `ansible-automation-platform-26/ee-supported-rhel9`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.
  - No versions given
  - Other versions: unaffected
  - Package name: `ansible-automation-platform/ee-29-rhel8`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.
  - No versions given
  - Other versions: affected
  - Package name: `ansible-automation-platform/ee-minimal-rhel8`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.
  - No versions given
  - Other versions: affected
  - Package name: `ansible-automation-platform/ee-minimal-rhel9`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform 2.
  - No versions given
  - Other versions: affected
  - Package name: `ansible-automation-platform-tech-preview/ansible-devspaces-rhel9`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform Ansible Core 2.
  - No versions given
  - Other versions: unaffected
  - Package name: `ansible-automation-platform-tech-preview/ee-minimal-rhel8`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Ansible Automation Platform Ansible Core 2.
  - No versions given
  - Other versions: affected
  - Package name: `ansible-automation-platform-tech-preview/ee-minimal-rhel9`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`

## 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.0019, the 8th 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 8 Apr 2026. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://access.redhat.com/errata/RHSA-2026:42141> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:42144> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:66482> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:66485> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:66486> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:66487> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:67279> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:71177> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:71179> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:71192> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:71210> (vendor-advisory, redhat)
- <https://access.redhat.com/security/cve/CVE-2025-57847> (vdb-entry, redhat)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2391092> (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-57847>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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