MediumGHSA-jpvw-p8pr-9g2xCVE-2023-5115PYSEC-2026-1120
Ansible symlink attack vulnerability
Published 28 Dec 2023 · Updated 7 Jul 2026
Is your project on an affected ansible?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
ansiblePyPI
- Affected
- <8.5.0
- Fixed in
- 8.5.0
Update to the fixed version for your release line, for example:
pip install 'ansible>=8.5.0'Details
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.
Is GHSA-jpvw-p8pr-9g2x in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected ansible, and gives you the command that fixes it.
More advisories for ansible
- MediumCVE-2025-14010Ansible Community General Collection is vulnerable to exposure of sensitive information · 4 Dec 2025
- MediumCVE-2020-25635Ansible does not collect garbage after playbook run · 31 Oct 2025
- HighCVE-2022-3697Ansible leaks password to logs · 28 Oct 2022
- HighCVE-2021-20228Ansible Exposes Sensitive Information · 25 May 2022
- CriticalCVE-2014-4678Ansible Code Injection Vulnerability · 24 May 2022
- HighCVE-2019-14856Ansible password prompts could expose passwords · 24 May 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2023-5115
- Linkgithub.com/ansible/ansible/commit/1e930684bc0a76ec3d094cd326738ad26416541c
- Linkaccess.redhat.com/errata/RHSA-2023:5701
- Linkaccess.redhat.com/errata/RHSA-2023:5758
- Linkaccess.redhat.com/security/cve/CVE-2023-5115
- Linkbugzilla.redhat.com/show_bug.cgi?id=2233810
- Linkgithub.com/ansible-community/ansible-build-data/blob/16d36538b96c65d9e0e28d89781361b69857ac0e/8/CHANGELOG-v8.rst#L221
- Packagegithub.com/ansible/ansible
- Linklists.debian.org/debian-lts-announce/2023/12/msg00018.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.