CVE-2025-49521
Event-driven-ansible: template injection via git branch and refspec in eda projects
- State
- Published
- Severity
- 8.8 High
- Published
- Jun 30, 2025
- Updated
- Nov 13, 2025
- Reserved
- Jun 6, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-94 Improper Control of Generation of Code ('Code Injection')
Affected Products
| Product | Versions |
|---|---|
Red Hat Ansible Automation Platform 2.5 for RHEL 8Red Hat |
|
Red Hat Ansible Automation Platform 2.5 for RHEL 9Red Hat |
|
References
- RHSA-2025:9986vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-49521vdb-entry
- RHBZ#2370817issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.