CVE-2025-57847
published medium CVSS 3.1 · 6.4Ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | ansible-automation-platform/ee-minimal-rhel8Red Hat Ansible Automation Platform 2.16 · 1789001438 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform/ee-minimal-rhel9Red Hat Ansible Automation Platform 2.16 · 1789023765 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform/ee-minimal-rhel8Red Hat Ansible Automation Platform 2.18 · 1789023329 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform/ee-minimal-rhel9Red Hat Ansible Automation Platform 2.18 · 1789001715 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-25/ee-minimal-rhel8Red Hat Ansible Automation Platform 2.5 · 1784035663 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-25/de-minimal-rhel8Red Hat Ansible Automation Platform 2.5 · 1789634812 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-25/ee-minimal-rhel9Red Hat Ansible Automation Platform 2.5 · 1784051694 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-25/de-minimal-rhel9Red Hat Ansible Automation Platform 2.5 · 1789654540 and later · Other versions: affected | Unaffected | Not stated | redhat |
Show 21 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | ansible-automation-platform-26/de-minimal-rhel9Red Hat Ansible Automation Platform 2.6 · 1789658734 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-26/de-supported-rhel9Red Hat Ansible Automation Platform 2.6 · 1789661423 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-26/ee-minimal-rhel9Red Hat Ansible Automation Platform 2.6 · 1789654312 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-27/ee-minimal-rhel9Red Hat Ansible Automation Platform 2.7 · 1788901236 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-27/de-minimal-rhel9Red Hat Ansible Automation Platform 2.7 · 1789582543 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-27/de-supported-rhel9Red Hat Ansible Automation Platform 2.7 · 1789584820 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-24/controller-rhel8Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-24/de-minimal-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat |
| Red Hat | — | ansible-automation-platform-24/de-minimal-rhel9Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat |
| Red Hat | — | ansible-automation-platform-24/ee-29-rhel8Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-24/ee-minimal-rhel8Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-24/ee-minimal-rhel9Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-25/ansible-dev-tools-rhel8Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-25/controller-rhel8-operatorRed Hat Ansible Automation Platform 2 | Affected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-26/ee-supported-rhel9Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform/ee-29-rhel8Red Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat |
| Red Hat | — | ansible-automation-platform/ee-minimal-rhel8Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform/ee-minimal-rhel9Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-tech-preview/ansible-devspaces-rhel9Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-tech-preview/ee-minimal-rhel8Red Hat Ansible Automation Platform Ansible Core 2 | Unaffected | Not required | redhat |
| Red Hat | — | ansible-automation-platform-tech-preview/ee-minimal-rhel9Red Hat Ansible Automation Platform Ansible Core 2 | Affected | Not stated | redhat |
Description
A container privilege escalation flaw was found in certain Ansible Automation Platform images. This issue arises from the /etc/passwd file being created with group-writable permissions during the build process. 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 vulnerability allows an attacker to add a new user with any arbitrary UID, including UID 0, gaining full root privileges within the container.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Ansible Automation Platform 2.16 | 1789001438 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.16 | 1789023765 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.18 | 1789023329 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.18 | 1789001715 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.5 | 1784035663 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.5 | 1789634812 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.5 | 1784051694 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.5 | 1789654540 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.6 | 1789658734 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.6 | 1789661423 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.6 | 1789654312 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.7 | 1788901236 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.7 | 1789582543 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.7 | 1789584820 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform Ansible Core 2 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform Ansible Core 2 | Default: affected | redhat · cna |
Weaknesses
1- CWE-276 Incorrect Default Permissions
References
13- RHSA-2026:42141 https://access.redhat.com/errata/RHSA-2026:42141
- RHSA-2026:42144 https://access.redhat.com/errata/RHSA-2026:42144
- RHSA-2026:66482 https://access.redhat.com/errata/RHSA-2026:66482
- RHSA-2026:66485 https://access.redhat.com/errata/RHSA-2026:66485
- RHSA-2026:66486 https://access.redhat.com/errata/RHSA-2026:66486
- RHSA-2026:66487 https://access.redhat.com/errata/RHSA-2026:66487
- RHSA-2026:67279 https://access.redhat.com/errata/RHSA-2026:67279
- RHSA-2026:71177 https://access.redhat.com/errata/RHSA-2026:71177
- RHSA-2026:71179 https://access.redhat.com/errata/RHSA-2026:71179
- RHSA-2026:71192 https://access.redhat.com/errata/RHSA-2026:71192
- RHSA-2026:71210 https://access.redhat.com/errata/RHSA-2026:71210
- https://access.redhat.com/security/cve/CVE-2025-57847
- RHBZ#2391092 https://bugzilla.redhat.com/show_bug.cgi?id=2391092
Provider assertions
2redhat · cna
Ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e384b9730711553697d91896b2547333207d4b79709bfdc837c6f7b5bb5e6423
- Ingested
- 13 Oct 2026, 17:19:01 UTC
- Source record
- Official CVE record