KeygraphLabs · CVE MCP

CVE-2016-8628 · redhat

CVE-2016-8628

Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.

Published 2018-07-31, last changed 2026-06-17. Weakness: CWE-77.

CVSS
9.1
critical, from NVD
EPSS
3.21%
percentile 88.6%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: ansible 2.2.0.0 (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 ansible/ansible by 35938b907d, cdec853e37. Functions changed by the fix: all, _parse_returned_data. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2018-07-31Published
2018-07-31Package advisory PYSEC-2018-38
2018-10-10Package advisory GHSA-jg4f-jqm5-4mgq
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 3.21%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-jg4f-jqm5-4mgqansible (PyPI)2.2.0.0
PYSEC-2018-38ansible (PyPI)2.2.0.0

Also known as: GHSA-jg4f-jqm5-4mgq, PYSEC-2018-38

Related

CVEPublishedCVSSSummary
CVE-2025-140102025-12-045.5Ansible-collection-community-general: ansible-collection-community-general: keycloak user module leaks credentials in verbose output
CVE-2023-51152023-12-186.3Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary files
CVE-2022-36972022-10-287.5same package: ansible (PyPI)
CVE-2021-201802022-03-165.5same package: ansible (PyPI)
CVE-2021-36202022-03-035.5same package: ansible (PyPI)
CVE-2021-35832021-09-227.1same package: ansible (PyPI)
CVE-2020-107292021-05-275.5same package: ansible (PyPI)
CVE-2021-201912021-05-265.5same package: ansible (PyPI)

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-2016-8628, or call /api/v1/vulnerabilities/CVE-2016-8628. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org