cve.bz

CVE-2025-49521 Code Injection

8.8 highEPSS 0.6%Fix available

High (8.8). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-07-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8: fixed in 0:1.1.11-1.el8ap
  • Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9: fixed in 0:1.1.11-1.el9ap
  • Red Hat: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-49521 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-49521?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-49521?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-49521 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Ansible Automation Platform 2.5 for RHEL 80:1.1.11-1.el8ap
Red Hat Ansible Automation Platform 2.5 for RHEL 90:1.1.11-1.el9ap

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatansible_automation_platform:2.5::el8automation-eda-controller, automation-eda-controller-base, automation-eda-controller-base-services and 2 more0:1.1.11-1.el8apRHSA-2025:9986
Red Hatansible_automation_platform:2.5::el8automation-gateway-proxy, automation-gateway-proxy-server, automation-gateway-proxy-debugsource and 1 more0:2.5.10-2.el8apRHSA-2025:9986
Red Hatansible_automation_platform:2.5::el8receptor, receptorctl, receptor-debuginfo and 1 more0:1.5.7-2.el8apRHSA-2025:9986
Red Hatansible_automation_platform:2.5::el9automation-eda-controller, automation-eda-controller-base, automation-eda-controller-base-services and 2 more0:1.1.11-1.el9apRHSA-2025:9986
Red Hatansible_automation_platform:2.5::el9automation-gateway-proxy-openssl30, automation-gateway-proxy-openssl32, automation-gateway-proxy-openssl30-server and 5 more0:2.6.6-2.el9apRHSA-2025:9986
Red Hatansible_automation_platform:2.5::el9receptor, receptorctl, receptor-debuginfo and 1 more0:1.5.7-2.el9apRHSA-2025:9986
Red Hatansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8receptor, receptorctl0:1.5.7-2.el8apRHSA-2025:9986
Red Hatansible_automation_platform_developer:2.5::el9, ansible_automation_platform_inside:2.5::el9receptor, receptorctl0:1.5.7-2.el9apRHSA-2025:9986

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

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's 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.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.5 for RHEL 8automation-eda-controller-0:1.1.11-1.el8apFixed 2025-06-30RHSA-2025:9986
Red Hat Ansible Automation Platform 2.5 for RHEL 9automation-eda-controller-0:1.1.11-1.el9apFixed 2025-06-30RHSA-2025:9986

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-49521.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON