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

Read the record on cve.org

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

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

ProductVersions
Red Hat Ansible Automation Platform 2.5 for RHEL 8Red Hat
  • 0:1.1.11-1.el8ap and laterNot affected
Red Hat Ansible Automation Platform 2.5 for RHEL 9Red Hat
  • 0:1.1.11-1.el9ap and laterNot affected

References

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.