CVE-2021-3583: A flaw was found in Ansible, where a user's controller is vulnerable to template injection
CVE-2021-3583 is a high-severity flaw (CVSS 7.1) affecting ansible automation platform, ansible engine, ansible tower. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A flaw was found in Ansible, where a user's controller is vulnerable to template injection. This issue can occur through facts used in the template if the user is trying to put templates in multi-line YAML strings and the facts being handled do not routinely include special template characters. This flaw allows attackers to perform command injection, which discloses sensitive information. The highest threat from this vulnerability is to confident
Why this priority
- High severity
- On your watchlist
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-3583?
ansible automation platform: downgrade or apply the listed mitigation; ansible engine: upgrade to 2.9.23; ansible tower: upgrade to 3.7.0. Exact commands for each OS are on this page.
Is CVE-2021-3583 being exploited?
CVE-2021-3583 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-3583 affect?
CVE-2021-3583 affects ansible automation platform, ansible engine, ansible tower. Severity is high (CVSS 7.1). A flaw was found in Ansible, where a user's controller is vulnerable to template injection. This issue can occur through facts used in the template if the user is trying to put templates in multi-line YAML strings and the facts being handle
How urgent is CVE-2021-3583?
Priority 45/100. High severity; On your watchlist
Software pages
Related CVEs
- CVE-2026-29063 CRITICAL 9.8 UPGRADE DOWNGRADE Immutable.js provides many Persistent Immutable data structures
- CVE-2026-39979 MEDIUM 6.5 UPGRADE UPGRADE jq is a command-line JSON processor
- CVE-2025-57847 MEDIUM 6.4 UPGRADE A container privilege escalation flaw was found in certain Ansible Automation Platform images
- CVE-2026-48710 MEDIUM 6.5 EXPLOITED UPGRADE UPGRADE Kludex Starlette HTTP Request/Response Smuggling Vulnerability
- CVE-2026-44495 HIGH 7.0 UPGRADE UPGRADE Axios is a promise based HTTP client for the browser and Node.js