CVE-2017-2809 · talos
CVE-2017-2809
An exploitable vulnerability exists in the yaml loading functionality of ansible-vault before 1.0.5. A specially crafted vault can execute arbitrary python commands resulting in command execution. An attacker can insert python into the vault to trigger this vulnerability.
Published 2017-09-14, last changed 2026-06-17. Weakness: CWE-94.
How to fix
Upgrade to a fixed version: ansible-vault 1.0.5 (PyPI). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in tomoh1r/ansible-vault by 3f8f659ef4. Functions changed by the fix: load. Regression tests: ansible_vault/test/file/pwned.txt, ansible_vault/test/test_api.py. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2017-09-14 | Published |
| 2017-09-14 | Package advisory PYSEC-2017-5 |
| 2018-07-13 | Package advisory GHSA-c2w9-48qc-qpj4 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 2.98% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-c2w9-48qc-qpj4 | ansible-vault (PyPI) | 1.0.5 |
| PYSEC-2017-5 | ansible-vault (PyPI) | 1.0.5 |
Also known as: GHSA-c2w9-48qc-qpj4, PYSEC-2017-5
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2025-61982 | 2026-02-18 | 7.8 | same weakness (CWE-94) from the same CNA (talos) |
| CVE-2024-23601 | 2024-05-28 | 9.8 | same weakness (CWE-94) from the same CNA (talos) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-2809, or call /api/v1/vulnerabilities/CVE-2017-2809. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.