{"id":"CVE-2025-49521","published":"2025-06-30T20:45:13Z","modified":"2026-11-03T12:58:11Z","title":"Event-driven-ansible: template injection via git branch and refspec in eda projects","vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 8","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00599,"percentile":0.49616,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:9986","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-49521","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2370817","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":9.92},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 9","versions":["all versions"]}],"workarounds":{"items":["Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-07-01T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-19586","exploited":false,"provenance":"source"}}