Read the docs
TI-2025-31539 Aliases CVE-2025-49521GHSA-g6ph-9xfv-87c2

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

Priority MEDIUM 41CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-94.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00599 48th percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Red HatRed Hat Ansible Automation Platform 2.5 for RHEL 8—1.1.11-1.el8apPatch availableCNA
Red HatRed Hat Ansible Automation Platform 2.5 for RHEL 9—1.1.11-1.el9apPatch availableCNA
  • Red Hat Ansible Automation Platform 2.5 for RHEL 8 VendorRed Hat Affected — Fixed in 1.1.11-1.el8ap Patch available CNA
  • Red Hat Ansible Automation Platform 2.5 for RHEL 9 VendorRed Hat Affected — Fixed in 1.1.11-1.el9ap Patch available CNA

CPE names CNA · 6

CPEVersionsRoleVendor
cpe:/a:redhat:ansible_automation_platform:2.5::el82.5—Red Hat
cpe:/a:redhat:ansible_automation_platform:2.5::el92.5—Red Hat
cpe:/a:redhat:ansible_automation_platform_developer:2.5::el82.5—Red Hat
cpe:/a:redhat:ansible_automation_platform_developer:2.5::el92.5—Red Hat
cpe:/a:redhat:ansible_automation_platform_inside:2.5::el82.5—Red Hat
cpe:/a:redhat:ansible_automation_platform_inside:2.5::el92.5—Red Hat
  • cpe:/a:redhat:ansible_automation_platform:2.5::el8 Versions 2.5 — ·Red Hat
  • cpe:/a:redhat:ansible_automation_platform:2.5::el9 Versions 2.5 — ·Red Hat
  • cpe:/a:redhat:ansible_automation_platform_developer:2.5::el8 Versions 2.5 — ·Red Hat
  • cpe:/a:redhat:ansible_automation_platform_developer:2.5::el9 Versions 2.5 — ·Red Hat
  • cpe:/a:redhat:ansible_automation_platform_inside:2.5::el8 Versions 2.5 — ·Red Hat
  • cpe:/a:redhat:ansible_automation_platform_inside:2.5::el9 Versions 2.5 — ·Red Hat

Remediation

Red Hat 1 advisory

  • RHSA-2025:9986 Released 2025-06-30 · Red Hat rating Important
    Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
    • Red Hat Ansible Automation Platform 2.5 for RHEL 8 automation-eda-controller-1.1.11-1.el8ap, automation-eda-controller-base-1.1.11-1.el8ap, automation-eda-controller-base-services-1.1.11-1.el8ap +6
    • Red Hat Ansible Automation Platform 2.5 for RHEL 9 automation-eda-controller-1.1.11-1.el9ap, automation-eda-controller-base-1.1.11-1.el9ap, automation-eda-controller-base-services-1.1.11-1.el9ap +8

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9 — RHSA-2025:9986

    2 records Highest priority Priority MEDIUM 2 MEDIUM

    Other records, highest priority first

    • TI-2025-31538 Event-driven-ansible: authenticated argument injection in git url in eda project creationPriority MEDIUM 41

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ansible Automation Platform 2.5 for RHEL 8Fixed RHSA-2025:9986
Red Hat Ansible Automation Platform 2.5 for RHEL 9Fixed RHSA-2025:9986
Not affected: 2 products
  • Red Hat Ansible Automation Platform 2.5 for RHEL 8
  • Red Hat Ansible Automation Platform 2.5 for RHEL 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-49521
  2. 2026-10-03 Alias added: GHSA-g6ph-9xfv-87c2

References

  • TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
  • TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
  • TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
  • TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
  • TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
  • TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
See all 7413 →

Sources