CVE-2023-5115Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary files
- 6.3MediumCVSS base score
- 1.0%Exploitation in 30 daysEPSS · top 36% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
An absolute path traversal attack exists in the Ansible automation platform. This flaw allows an attacker to craft a malicious Ansible role and make the victim execute the role. A symlink can be used to overwrite a file outside of the extraction path.
Timeline
ID reserved
By redhat
- 3 months later
· 3 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N |
| NVDNVD · Modified | 3.1 | Medium6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N |
- EPSS (exploitation in 30 days)
- 1.0% · top 36% of all CVEs (12 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.3.
Affected products
Red Hat · Red Hat Ansible Automation Platform 2.3 for RHEL 8
- unaffected 0:2.14.11-1.el8ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.3 for RHEL 8
- unaffected 0:2.14.11-1.el8ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.3 for RHEL 8
- unaffected 0:2.14.11-1.el8ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.3 for RHEL 9
- unaffected 0:2.14.11-1.el9ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.3 for RHEL 9
- unaffected 0:2.14.11-1.el9ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.3 for RHEL 9
- unaffected 0:2.14.11-1.el9ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 8
- unaffected 0:2.15.5-1.el8ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 8
- unaffected 0:2.15.5-1.el8ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 8
- unaffected 0:2.15.5-1.el8ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 9
- unaffected 0:2.15.5-1.el9ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 9
- unaffected 0:2.15.5-1.el9ap – < *
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 9
- unaffected 0:2.15.5-1.el9ap – < *
Red Hat · Red Hat Ansible Automation Platform 1.2
All versions: affected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIansibleGHSA-jpvw-p8pr-9g2x (opens in a new tab)
References
References5
- RHSA-2023:5701 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:5758 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2023-5115 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2233810 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
- https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-3236 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-jpvw-p8pr-9g2x (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-5115)Record last updated .