Skip to content
OpenAdvisories
High · 8.8 CVE-2025-49521 EUVD-2025-19586GHSA-g6ph-9xfv-87c2

Event-driven-ansible: template injection via git branch and refspec in eda projects

Published Jun 30, 2025 · Updated Nov 3, 2026 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8 — —
Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Ansible Automation Platform Inside 2 receptor +1 1.5.7-2.el8ap RHSA-2025:9986
Red Hat Ansible Automation Platform Developer 2 receptor +1 1.5.7-2.el8ap RHSA-2025:9986
Red Hat Ansible Automation Platform 2 automation-eda-controller +4 1.1.11-1.el8ap RHSA-2025:9986
Red Hat Ansible Automation Platform 2 automation-gateway-proxy +1 2.5.10-2.el8ap RHSA-2025:9986
Red Hat Ansible Automation Platform 2 automation-gateway-proxy-openssl30 +3 2.6.6-2.el9ap RHSA-2025:9986
Red Hat Ansible Automation Platform 2 receptor +1 1.5.7-2.el8ap RHSA-2025:9986

Advisories 2

References