A flaw was found in Ansible, where a user's controller is vulnerable to template injection.
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.89% (FIRST EPSS); higher than 59.2% of all records.
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: ansible (Debian:10) 2.7.7+dfsg-1+deb10u2; ansible (Debian:12) 5.4.0-1; ansible-core (Debian:12) 2.12.0-1.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to ansible (Debian:10) 2.7.7+dfsg-1+deb10u2; ansible (Debian:12) 5.4.0-1; ansible-core (Debian:12) 2.12.0-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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 confidentiality and integrity.
- Published
- Sep 22, 2021
- Updated
- Jun 17, 2026
- EPSS
- 0.8% · 59th percentile
- CWE
- CWE-20
Report tools
Action score
28
Monitor
Low priority for now.
- CVSS
- 28 / 40 · 7.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.8%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| redhat | ansible automation platform | cpe:2.3:a:redhat:ansible_automation_platform |
| redhat | ansible engine | cpe:2.3:a:redhat:ansible_engine |
| redhat | ansible tower | cpe:2.3:a:redhat:ansible_tower |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- redhat ansible automation platform1.2
- redhat ansible enginebefore 2.9.23
- redhat ansible towerbefore 3.7.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
n/a ansible
- ansible_tower 3.7, ansible_engine 2.9.23affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:10 | ansible | before 2.7.7+dfsg-1+deb10u2 | 2.7.7+dfsg-1+deb10u2 |
| Debian:12 | ansible | before 5.4.0-1 | 5.4.0-1 |
| Debian:12 | ansible-core | before 2.12.0-1 | 2.12.0-1 |
| openSUSE:Leap 15.3 | ansible | before 2.9.27-150000.1.14.1 | 2.9.27-150000.1.14.1 |
| openSUSE:Leap 15.3 | dracut-saltboot | before 0.1.1657643023.0d694ce-150000.1.35.1 | 0.1.1657643023.0d694ce-150000.1.35.1 |
| openSUSE:Leap 15.3 | golang-github-QubitProducts-exporter_exporter | before 0.4.0-150000.1.15.1 | 0.4.0-150000.1.15.1 |
| openSUSE:Leap 15.3 | python-hwdata | before 2.3.5-150000.3.9.1 | 2.3.5-150000.3.9.1 |
| openSUSE:Leap 15.3 | spacecmd | before 4.3.14-150000.3.83.1 | 4.3.14-150000.3.83.1 |
| openSUSE:Leap 15.4 | prometheus-blackbox_exporter | before 0.19.0-150000.1.11.1 | 0.19.0-150000.1.11.1 |
| openSUSE:Leap 15.4 | wire | before 0.5.0-150000.1.6.1 | 0.5.0-150000.1.6.1 |
| PyPI | ansible | from 2.10.0a1 · before 2.10.11rc1 | 2.10.11rc1 |
| PyPI | ansible | from 2.11.0a1 · before 2.11.2rc1 | 2.11.2rc1 |
| PyPI | ansible | before 2.9.23rc1 | 2.9.23rc1 |
| PyPI | ansible | before 2.9.23 | 2.9.23 |
| Red Hat:ansible_automation_platform:2.0::el8 | ansible | before 0:2.9.23-1.el8ap | 0:2.9.23-1.el8ap |
| Red Hat:ansible_engine:2.9::el7 | ansible | before 0:2.9.23-1.el7ae | 0:2.9.23-1.el7ae |
| Red Hat:ansible_engine:2.9::el7 | ansible-test | before 0:2.9.23-1.el7ae | 0:2.9.23-1.el7ae |
| Red Hat:ansible_engine:2.9::el8 | ansible | before 0:2.9.23-1.el8ae | 0:2.9.23-1.el8ae |
| Red Hat:ansible_engine:2.9::el8 | ansible-test | before 0:2.9.23-1.el8ae | 0:2.9.23-1.el8ae |
| SUSE:HPE Helion OpenStack 8 | ansible | before 2.9.27-3.21.1 | 2.9.27-3.21.1 |
| SUSE:Linux Enterprise High Performance Computing 15-ESPOS | golang-github-prometheus-node_exporter | before 1.3.0-150000.3.15.1 | 1.3.0-150000.3.15.1 |
| SUSE:Manager Client Tools 15 | ansible | before 2.9.27-150000.1.14.1 | 2.9.27-150000.1.14.1 |
| SUSE:Manager Client Tools 15 | dracut-saltboot | before 0.1.1657643023.0d694ce-150000.1.35.1 | 0.1.1657643023.0d694ce-150000.1.35.1 |
| SUSE:Manager Client Tools 15 | golang-github-QubitProducts-exporter_exporter | before 0.4.0-150000.1.15.1 | 0.4.0-150000.1.15.1 |
+28
Same product
redhat: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-4237Platform: ec2_key module prints out the private key directly to the standard output31Monitor
- CVE-2023-50782Python-cryptography: bleichenbacher timing oracle attack against rsa decryption - incomplete fix for cve-2020-2565930Monitor
- CVE-2025-9909Aap-gateway: improper path validation in gateway allows credential exfiltration26Monitor
Published before and after this one in the same product
- Later →CVE-2021-3681Apr 18, 2022 · A flaw was found in Ansible Galaxy Collections.22Monitor
- Later →CVE-2022-2568Aug 18, 2022 · A privilege escalation flaw was found in the Ansible Automation Platform.26Monitor
- Later →CVE-2022-1632Sep 1, 2022 · An Improper Certificate Validation attack was found in Openshift.26Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:ansible | 5.4.0-1 · Debian:12 | Package registry (OSV) |
| debian:ansible-core | 2.12.0-1 · Debian:12 | Package registry (OSV) |
| opensuse:ansible | 2.9.27-150000.1.14.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:dracut-saltboot | 0.1.1657643023.0d694ce-150000.1.35.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:golang-github-QubitProducts-exporter_exporter | 0.4.0-150000.1.15.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:prometheus-blackbox_exporter | 0.19.0-150000.1.11.1 · openSUSE:Leap 15.4 | Package registry (OSV) |
| opensuse:python-hwdata | 2.3.5-150000.3.9.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:spacecmd | 4.3.14-150000.3.83.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:wire | 0.5.0-150000.1.6.1 · openSUSE:Leap 15.4 | Package registry (OSV) |
| PyPI:ansible | 2.10.11rc1 | Package registry (OSV) |
| PyPI:ansible | 2.11.2rc1 | Package registry (OSV) |
| PyPI:ansible | 2.9.23 | Package registry (OSV) |
| PyPI:ansible | 2.9.23rc1 | Package registry (OSV) |
| red hat:ansible | 0:2.9.23-1.el8ap · Red Hat:ansible_automation_platform:2.0::el8 | Package registry (OSV) |
| red hat:ansible-test | 0:2.9.23-1.el7ae · Red Hat:ansible_engine:2.9::el7 | Package registry (OSV) |
| suse:ansible | 2.9.27-150000.1.14.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:ansible | 2.9.27-3.21.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:dracut-saltboot | 0.1.1657643023.0d694ce-150000.1.35.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:golang-github-QubitProducts-exporter_exporter | 0.4.0-150000.1.15.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:mgr-daemon | 4.3.5-150000.1.35.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:mgr-virtualization | 4.3.6-150000.1.32.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:prometheus-blackbox_exporter | 0.19.0-150000.1.11.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:python-hwdata | 2.3.5-150000.3.9.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:spacecmd | 4.3.14-150000.3.83.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:spacewalk-client-tools | 4.3.11-150000.3.65.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:uyuni-common-libs | 4.3.5-150000.1.24.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:uyuni-proxy-systemd-services | 4.3.6-150000.1.6.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:zypp-plugin-spacewalk | 1.0.13-150000.3.32.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0184 · Mar 1, 2022(IBM Güvenlik Bülteni)
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (1 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.