PyPI (Python)Worst: Critical66 advisories
ansible: known vulnerabilities
ansible has 66 reviewed security advisories in the GitHub Advisory Database — 9 critical, 24 high, 27 moderate, 6 low. The most recent was published 2025-12-04. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the ansible versions running across your servers, containers and images, and ranks what to patch first.
How to fix ansible
Upgrade ansible to a release at or above the fixed version shown for each advisory below. For PyPI (Python):
pip install --upgrade ansible (pin ansible>=12.2.0)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (66)
Ansible Community General Collection is vulnerable to exposure of sensitive information
Moderate 5.5 CWE-200 CWE-532
— Affected: before 12.2.0. Fixed in 12.2.0. Published 2025-12-04. GHSA-8ggh-xwr9-3373 · CVE-2025-14010
Ansible symlink attack vulnerability
Moderate 6.3 CWE-22 CWE-36
— Affected: before 8.5.0. Fixed in 8.5.0. Published 2023-12-18. GHSA-jpvw-p8pr-9g2x · CVE-2023-5115
Ansible leaks password to logs
High 7.5 CWE-233
— Affected: from 2.5.0 up to 7.0.0. Fixed in 7.0.0. Published 2022-10-28. GHSA-cpx3-93w7-457x · CVE-2022-3697
Insertion of Sensitive Information into Log File in ansible
Moderate 5.5 CWE-532
— Affected: from 2.9.0b1 up to 2.9.18. Fixed in 2.9.18. Published 2022-03-16. GHSA-fh5v-5f35-2rv2 · CVE-2021-20180
Ansible discloses sensitive information in traceback error message
Moderate 5.5 CWE-209
— Affected: before 2.9.27. Fixed in 2.9.27. Published 2022-03-03. GHSA-4r65-35qq-ch8j · CVE-2021-3620
Improper Input Validation and Command Injection in Ansible
High 7.1 CWE-20 CWE-77 CWE-94
— Affected: from 2.11.0a1 up to 2.11.2rc1. Fixed in 2.11.2rc1. Published 2021-09-22. GHSA-2pfh-q76x-gwvm · CVE-2021-3583
Insufficiently random values in Ansible
Moderate 5.0 CWE-330
— Affected: before 2.9.6. Fixed in 2.9.6. Published 2021-05-27. GHSA-r6h7-5pq2-j77h · CVE-2020-10729
Insertion of Sensitive Information into Log File in ansible
Moderate 5.5 CWE-532
— Affected: from 2.10.0a1 up to 2.10.7. Fixed in 2.10.7. Published 2021-05-26. GHSA-8f4m-hccc-8qph · CVE-2021-20191
Insertion of Sensitive Information into Log File in ansible
High 5.5 CWE-532
— Affected: before 2.9.18. Fixed in 2.9.18. Published 2021-05-26. GHSA-wv5p-gmmv-wh9v · CVE-2021-20178
Ansible Exposes Sensitive Information
High 7.5 CWE-200 CWE-522
— Affected: before 2.8.19rc1. Fixed in 2.8.19rc1. Published 2021-04-29. GHSA-5rrg-rr89-x9mv · CVE-2021-20228
Ansible does not collect garbage after playbook run
Moderate 5.0 CWE-212
— Affected: before 2.10.1. Fixed in 2.10.1. Published 2020-10-05. GHSA-f556-49jc-4rvc · CVE-2020-25635
Improper Verification of Cryptographic Signature in ansible
Moderate 7.1 CWE-347
— Affected: from 2.9.0a1 up to 2.9.13. Fixed in 2.9.13. Published 2020-09-23. GHSA-m429-fhmv-c6q2 · CVE-2020-14365
Improper Output Neutralization and Improper Encoding or Escaping of Output for Logs in ansible
Moderate 5.5 CWE-116 CWE-117 CWE-532
— Affected: before 2.10.0. Fixed in 2.10.0. Published 2020-09-11. GHSA-785x-qw4v-6872 · CVE-2020-14330
Insertion of Sensitive Information into Log File and Improper Output Neutralization for Logs in ansible
Moderate 5.5 CWE-117 CWE-532
— Affected: from 2.10.0a1 up to 2.10.1rc2. Fixed in 2.10.1rc2. Published 2020-09-11. GHSA-j667-c2hm-f2wp · CVE-2020-14332
OS Command Injection and Improper Input Validation in ansible
High 7.3 CWE-20 CWE-78
— Affected: from 2.9.0a1 up to 2.9.3. Fixed in 2.9.3. Published 2020-08-26. GHSA-gwr8-5j83-483c · CVE-2019-14904
Exposure of Resource to Wrong Sphere and Insecure Temporary File in Ansible
Low 5.0 CWE-362 CWE-377 CWE-668
— Affected: before 2.9.12. Fixed in 2.9.12. Published 2020-05-15. GHSA-vp9j-rghq-8jhh · CVE-2020-10744
Exposure of Sensitive Information to an Unauthorized Actor in ansible
Moderate 5.0 CWE-200
— Affected: from 2.7.0a1 up to 2.7.17. Fixed in 2.7.17. Published 2020-05-12. GHSA-j2h6-73x8-22c4 · CVE-2020-1746
Exposure of Resource to Wrong Sphere and Insecure Temporary File in Ansible
Moderate 5.5 CWE-377 CWE-459 CWE-668
— Affected: from 2.9.0a1 up to 2.9.7. Fixed in 2.9.7. Published 2020-05-11. GHSA-77g3-3j5w-64w4 · CVE-2020-10685
Path Traversal in Ansible
Moderate 5.2 CWE-22
— Affected: from 2.9.0a1 up to 2.9.7. Fixed in 2.9.7. Published 2020-04-30. GHSA-3c67-gc48-983w · CVE-2020-10691
Externally Controlled Reference to a Resource in Another Sphere, Improper Input Validation, and External Control of File Name or Path in Ansible
High 5.6 CWE-20 CWE-610 CWE-668 CWE-73
— Affected: from 2.9.0a1 up to 2.9.3. Fixed in 2.9.3. Published 2020-03-31. GHSA-frxj-5j27-f8rf · CVE-2019-14905
Code Injection, Race Condition, and Execution with Unnecessary Privileges in Ansible
Moderate 7.1 CWE-250 CWE-362 CWE-862 CWE-94
— Affected: from 2.9.0a1 up to 2.9.7. Fixed in 2.9.7. Published 2020-03-24. GHSA-p62g-jhg6-v3rq · CVE-2020-10684
Insertion of Sensitive Information into Log File, Invocation of Process Using Visible Sensitive Information, and Exposure of Sensitive Information to an Unauthorized Actor in Ansible
Moderate 5.5 CWE-200 CWE-532
— Affected: from 2.9.0a1 up to 2.9.7. Fixed in 2.9.7. Published 2020-03-16. GHSA-86hp-cj9j-33vv · CVE-2020-1753
Argument Injection in Ansible
Low 3.9 CWE-88
— Affected: 2.9.0a1 through 2.9.6. No fixed release is listed. Published 2020-03-16. GHSA-f85h-23mf-2fwh · CVE-2020-1738
Path Traversal in Ansible
Moderate 4.6 CWE-22
— Affected: from 2.9.0a1 up to 2.9.8. Fixed in 2.9.8. Published 2020-03-16. GHSA-gfr2-qpxh-qj9m · CVE-2020-1735
Exposure of Sensitive Information to an Unauthorized Actor and Insecure Temporary File in Ansible
Moderate 4.7 CWE-200 CWE-377
— Affected: from 2.9.0a1 up to 2.9.7. Fixed in 2.9.7. Published 2020-03-16. GHSA-vcg8-98q8-g7mj · CVE-2020-1740
Incorrect Permission Assignment for Critical Resource in Ansible
Moderate 3.3 CWE-732
— Affected: 2.7.0 through 2.10.0. No fixed release is listed. Published 2020-03-16. GHSA-x7jh-595q-wq82 · CVE-2020-1736
Exposure of Sensitive Information to an Unauthorized Actor in Ansible
Low 3.9 CWE-200
— Affected: from 2.9.0a1 up to 2.9.7. Fixed in 2.9.7. Published 2020-03-12. GHSA-923p-fr2c-g5m2 · CVE-2020-1739
Ansible vulnerable to Exposure of Resource to Wrong Sphere and Insecure Temporary File
Low 5.0 CWE-362 CWE-377 CWE-668
— Affected: from 2.9.0a1 up to 2.9.7. Fixed in 2.9.7. Published 2020-03-11. GHSA-g4mq-6fp5-qwcf · CVE-2020-1733
Path Traversal in Ansible
High 7.8 CWE-22
— Affected: before 2.7.17. Fixed in 2.7.17. Published 2020-03-09. GHSA-893h-35v4-mxqx · CVE-2020-1737
OS Command Injection in ansible
High 7.4 CWE-78
— Affected: before 2.8.13. Fixed in 2.8.13. Published 2020-03-03. GHSA-h39q-95q5-9jfp · CVE-2020-1734
Ansible Sensitive Files Are Locally Readable
Moderate 5.5 CWE-200
— Affected: before 1.5.5. Fixed in 1.5.5. Published 2020-02-20. GHSA-5g4v-2pc6-4hh4 · CVE-2014-4658
Ansible discloses credential information
Moderate 5.5 CWE-200
— Affected: before 1.5.5. Fixed in 1.5.5. Published 2020-02-20. GHSA-5xm4-jmpw-p6j3 · CVE-2014-4660
Ansible sets unsafe permissions for sources.list
Moderate 5.5 CWE-522
— Affected: before 1.5.5. Fixed in 1.5.5. Published 2020-02-20. GHSA-6667-f46p-pg88 · CVE-2014-4659
Ansible Code Injection Vulnerability
Critical 9.8 CWE-74
— Affected: before 1.6.4. Fixed in 1.6.4. Published 2020-02-20. GHSA-66c7-5pwv-mm3j · CVE-2014-4678
Ansible Remote Code Execution
Critical 9.8 CWE-20
— Affected: before 1.5.4. Fixed in 1.5.4. Published 2020-02-20. GHSA-qg47-5px9-32g7 · CVE-2014-4657
Ansible Arbitrary Code Execution
Critical 9.8 CWE-74
— Affected: before 1.6.7. Fixed in 1.6.7. Published 2020-02-18. GHSA-64cw-m57j-65xj · CVE-2014-4967
Ansible Arbitrary Code Execution
Critical 9.8 CWE-74
— Affected: before 1.6.7. Fixed in 1.6.7. Published 2020-02-18. GHSA-wqq5-c89p-3wc3 · CVE-2014-4966
Ansible unsafe evaluation of some strings
High 7.5 CWE-670
— Affected: before 1.5.4. Fixed in 1.5.4. Published 2020-01-09. GHSA-49m5-2838-q2rv · CVE-2014-2686
Inclusion of Sensitive Information in Log Files and Improper Output Neutralization for Logs in Ansible
Moderate 6.5 CWE-532
— Affected: from 2.9.0a1 up to 2.9.1. Fixed in 2.9.1. Published 2020-01-02. GHSA-3m93-m4q6-mc6v · CVE-2019-14864
Ansible password prompts could expose passwords
High 6.5 CWE-287
— Affected: from 2.6.0 up to 2.6.20. Fixed in 2.6.20. Published 2019-11-26. GHSA-6fq2-x65v-v9h7 · CVE-2019-14856
Exposure of Sensitive Information to an Unauthorized Actor in ansible
High 6.5 CWE-200
— Affected: from 2.8.0a1 up to 2.8.4. Fixed in 2.8.4. Published 2019-11-25. GHSA-p75j-wc34-527c · CVE-2019-10217
Ansible password prompts could expose passwords
High 6.5 CWE-20 CWE-522
— Affected: from 2.6.0 up to 2.6.19. Fixed in 2.6.19. Published 2019-11-22. GHSA-cqmr-rcpr-cxh3 · CVE-2019-10206
Ansible leaks sensitive information to logs when told not to
Moderate 5.5 CWE-532
— Affected: from 2.0 up to 2.6.20. Fixed in 2.6.20. Published 2019-10-14. GHSA-h653-95qw-h2mp · CVE-2019-14858
Ansible Uses Plugins That Disclose Credentials
High 7.8 CWE-117 CWE-532
— Affected: from 2.8.0a1 up to 2.8.6. Fixed in 2.8.6. Published 2019-10-08. GHSA-pm48-cvv2-29q5 · CVE-2019-14846
Exposure of Sensitive Information to an Unauthorized Actor in ansible
Moderate 5.4 CWE-200
— Affected: from 2.8.0a1 up to 2.8.2. Fixed in 2.8.2. Published 2019-07-30. GHSA-grgm-pph5-j5h7 · CVE-2019-10156
Ansible Path Traversal vulnerability
Low 4.2 CWE-22
— Affected: from 2.7.0a1 up to 2.7.8. Fixed in 2.7.8. Published 2019-03-27. GHSA-74vq-h4q8-x6jv · CVE-2019-3828
Ansible sensitive information disclosure
High 5.3 CWE-200
— Affected: from 2.7.0a1 up to 2.7.5. Fixed in 2.7.5. Published 2019-01-03. GHSA-j569-fghw-f9rx · CVE-2018-16876
Ansible Logs Passwords If PowerShell ScriptBlock is Enabled
Moderate 4.4 CWE-532
— Affected: from 2.6.0a1 up to 2.6.9. Fixed in 2.6.9. Published 2018-11-29. GHSA-v735-2pp6-h86r · CVE-2018-16859
Ansible Leaks Data Passed to ssh-keygen
High 7.8 CWE-311
— Affected: before 2.5.11. Fixed in 2.5.11. Published 2018-10-23. GHSA-hwrm-63v2-42g4 · CVE-2018-16837
Ansible fails to cache SSH host keys
Critical 7.4
— Affected: before 1.2.1. Fixed in 1.2.1. Published 2018-10-10. GHSA-9x6q-5423-w5v9 · CVE-2013-2233
Ansible apt_key module does not properly verify key fingerprint
High 7.5 CWE-358
— Affected: before 2.2.0.0. Fixed in 2.2.0.0. Published 2018-10-10. GHSA-cmwx-9m2h-x7v4 · CVE-2016-8614
Ansible fails to properly sanitize fact variables sent from the Ansible controller
Critical 9.1 CWE-77
— Affected: before 2.2.0.0. Fixed in 2.2.0.0. Published 2018-10-10. GHSA-jg4f-jqm5-4mgq · CVE-2016-8628
Ansible does not verify that the server hostname matches a domain name in certificates
High 7.5 CWE-345
— Affected: before 1.9.2. Fixed in 1.9.2. Published 2018-10-10. GHSA-w64c-pxjj-h866 · CVE-2015-3908
Ansible fails to properly mark lookup-plugin results as unsafe
Critical 9.8 CWE-20
— Affected: from 2.2.0.0 up to 2.2.3.0. Fixed in 2.2.3.0. Published 2018-09-06. GHSA-w578-j992-554x · CVE-2017-7481
Improper Input Validation in ansible
Moderate 4.9 CWE-20
— Affected: before 2.2.1.0. Fixed in 2.2.1.0. Published 2018-07-26. GHSA-x4cm-m36h-c6qj · CVE-2016-8647
Ansible Arbitrary Code Execution
High 7.8 CWE-426
— Affected: from 2.6.0a1 up to 2.6.1. Fixed in 2.6.1. Published 2018-07-13. GHSA-fc4h-467w-46rh · CVE-2018-10875
Ansible exposes sensitive data in log files and on the terminal
High 5.9 CWE-532
— Affected: from 2.4.0.0 up to 2.4.5.0. Fixed in 2.4.5.0. Published 2018-07-03. GHSA-jwcc-j78w-j73w · CVE-2018-10855
Ansible Improper Input Validation vulnerability
High 7.8 CWE-20 CWE-426
— Affected: from 2.6 up to 2.6.1. Fixed in 2.6.1. Published 2018-07-02. GHSA-3xvg-x47j-x75w · CVE-2018-10874
Ansible Arbitrary Code Execution
High 8.0 CWE-20
— Affected: before 2.2.3.0. Fixed in 2.2.3.0. Published 2018-06-22. GHSA-3m8p-xpm6-8ww3 · CVE-2017-7466
Ansible is vulnerable to an improper input validation in Ansible's handling of data sent from client systems
Critical 8.1 CWE-20
— Affected: from 2.2.0.0 up to 2.2.1.0. Fixed in 2.2.1.0. Published 2018-04-24. GHSA-m956-frf4-m2wr · CVE-2016-9587
Ansible Insertion of Sensitive Information into Log File vulnerability
Critical 9.8 CWE-532
— Affected: from 2.3.0.0 up to 2.3.3.0. Fixed in 2.3.3.0. Published 2017-11-21. GHSA-588w-w6mv-3cw5 · CVE-2017-7550
Ansible Arbitrary Code Execution
High 8.8 CWE-20
— Affected: before 1.6.6. Fixed in 1.6.6. Published 2017-06-08. GHSA-4cvm-5776-jx9f · CVE-2014-3498
Ansible Sandbox Escape via Symlink Attack
High 7.8 CWE-59
— Affected: before 1.9.2. Fixed in 1.9.2. Published 2017-06-07. GHSA-wwwh-47wp-m522 · CVE-2015-6240
Link Following in ansible
High 7.8 CWE-59
— Affected: before 1.9.6.1. Fixed in 1.9.6.1. Published 2016-06-03. GHSA-rh6x-qvg7-rrmj · CVE-2016-3096
Ansible uses a socket with predictable filename in /tmp
Low 4.0 CWE-330
— Affected: before 1.2.3. Fixed in 1.2.3. Published 2013-09-16. GHSA-fj24-ghp9-39v3 · CVE-2013-4259
Ansible Arbitrary File Overwrite Vulnerability
Moderate 6.2 CWE-281
— Affected: from 1.2 up to 1.2.3. Fixed in 1.2.3. Published 2013-09-16. GHSA-pcqv-c46v-2p4v · CVE-2013-4260
Find ansible across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.