HighGHSA-wwwh-47wp-m522CVE-2015-6240PYSEC-2017-3
Ansible Sandbox Escape via Symlink Attack
Published 13 May 2022 · Updated 30 Aug 2024
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
- <1.9.2
- Fixed in
- 1.9.2
Update to the fixed version for your release line, for example:
pip install 'ansible>=1.9.2'Details
The chroot, jail, and zone connection plugins in ansible before 1.9.2 allow local users to escape a restricted environment via a symlink attack.
Is GHSA-wwwh-47wp-m522 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
- MediumCVE-2023-5115Ansible symlink attack vulnerability · 28 Dec 2023
- 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
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2015-6240
- Linkgithub.com/ansible/ansible/commit/952166f48eb0f5797b75b160fd156bbe1e8fc647
- Linkgithub.com/ansible/ansible/commit/ca2f2c4ebd7b5e097eab0a710f79c1f63badf95b
- Linkbugzilla.redhat.com/show_bug.cgi?id=1243468
- Packagegithub.com/ansible/ansible
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2017-3.yaml
- Linklists.debian.org/debian-lts-announce/2019/09/msg00016.html
- Linkwww.openwall.com/lists/oss-security/2015/08/17/10
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.