CVE-2025-49521: Red Hat Ansible Automation Platform 2.5 for RHEL 8 · Code Injection
Affects Red Hat Ansible Automation Platform 2.5 for RHEL 8Source CVE Database V5
Not known to be exploited · CVSS 8.8 High.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 47% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
AI-suggested
To mitigate CVE-2025-49521, organizations should implement the following specific measures: 1) Immediately restrict access to the Ansible Automation Platform EDA component to only trusted and necessary users, enforcing the principle of least privilege. 2) Monitor and audit usage of Git branch or refspec inputs within EDA workflows to detect anomalous or suspicious template expressions. 3) Employ network segmentation and firewall rules to limit exposure of EDA workers, especially in multi-tenant or containerized environments like OpenShift. 4) Until an official patch is released, consider disabling or restricting features that process user-supplied Git branch or refspec values as templates, if operationally feasible. 5) Use strong authentication mechanisms and rotate credentials regularly to reduce the risk of compromised accounts being used for exploitation. 6) In OpenShift environments, monitor service account token usage and implement strict RBAC policies to minimize token privileges and detect unusual access patterns. 7) Stay informed on Red Hat advisories and apply patches promptly once available. 8) Conduct internal penetration testing and code reviews focusing on template processing to identify similar injection risks. These targeted actions go beyond generic advice by focusing on the specific attack vector and environment context of this vulnerability.
Description
A flaw was found in the EDA component of the Ansible Automation Platform, where user-supplied Git branch or refspec values are evaluated as Jinja2 templates. This vulnerability allows authenticated users to inject expressions that execute commands or access sensitive files on the EDA worker. In OpenShift, it can lead to service account token theft.