Skip to content
VulniPulse
Advisory severityHigh8.8Red Hat Linux

High [CVE-2025-49521] Event-driven-ansible: template injection via git branch and refspec in eda projects

This high-severity Red Hat Linux advisory covers CVE-2025-49521 affecting Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2025-49521 Source published Source updated

VulniPulse record published

CVE-2025-49521
Affected products & platforms
Red Hat LinuxUnclassified
Open source advisory

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. The Red Hat Product Security team has assessed this vulnerability as Important as the flaw enables template injection via unsanitized user input into Jinja2 templates used during project setup.

Successful exploitation allows command execution and sensitive data exposure on the EDA worker, including Kubernetes service tokens in containerized environments. Red Hat severity: Important — CVSS 8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Weakness: CWE-94. Affected Red Hat products: Red Hat Ansible Automation Platform 2.5 for RHEL 8; Red Hat Ansible Automation Platform 2.5 for RHEL 9.

Red Hat fixing advisory: RHSA-2025:9986.

Is CVE-2025-49521 exploited?

No exploitation is reported in the sources VulniPulse tracks: CVE-2025-49521 is not in the CISA KEV catalog (checked ) and this advisory does not report exploitation. That is not proof the vulnerability cannot be exploited.

How do I fix CVE-2025-49521?

Upgrade to a fixed release named by Red Hat:

  • automation-eda-controller-0:1.1.11-1.el8ap
  • automation-eda-controller-0:1.1.11-1.el9ap
  • RHSA-2025:9986

Confirm against the vendor advisory before you patch.

Affected versions

No affected-version range was extracted from the source record. The vendor advisory is authoritative. Check it before change work.

Official advisory · high-confidence parse· fetched 7 days ago·verify at source

Fixed versions
  • automation-eda-controller-0:1.1.11-1.el8ap
  • automation-eda-controller-0:1.1.11-1.el9ap
  • RHSA-2025:9986

Official advisory · high-confidence parse· fetched 7 days ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • 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.

Official advisory · high-confidence parse· fetched 7 days ago·verify at source

Get an email when Red Hat publishes the next one.

See Red Hat's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).

Alert me about Red Hat
All Red Hat Linux advisories

iPhone and Android apps · New on the App Store

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.