cve.bz

CVE-2025-5988 Cross Site Reference Forgery

5.3 mediumEPSS 0.3%Fix available

Medium (5.3). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in the Ansible aap-gateway. Cross-site request forgery (CSRF) origin checking is not done on requests from the gateway to external components, such as the controller, hub, and eda.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 22nd 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: partial, assessed 2025-08-04. 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-352 Cross-Site Request Forgery (Cross Site Reference Forgery)
OWASP Top 10
A01:2025 Broken Access Control
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:2.5.20250730-2.el8ap
  • Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9: fixed in 0:2.5.20250730-2.el9ap
  • Red Hat: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-5988 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-5988?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-5988?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-5988 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:2.5.20250730-2.el8ap
Red Hat Ansible Automation Platform 2.5 for RHEL 90:2.5.20250730-2.el9ap

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatansible_automation_platform:2.5::el8automation-gateway-server0:2.5.20250730-2.el8apRHSA-2025:12772
Red Hatansible_automation_platform:2.5::el8python3.11-django-ansible-base0:2.5.20250730-1.el8apRHSA-2025:12772
Red Hatansible_automation_platform:2.5::el9automation-gateway-server0:2.5.20250730-2.el9apRHSA-2025:12772
Red Hatansible_automation_platform:2.5::el9python3.11-django-ansible-base0:2.5.20250730-1.el9apRHSA-2025:12772

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 Moderate.

Red Hat's statement

This issue is classified as Moderate because the exploitation conditions significantly limit its practicality and impact in typical deployments. Successful exploitation requires the attacker to first obtain a valid CSRF form token tied to the victim’s session, which is generally protected by browser same-origin policies and modern CSRF mitigations—making token theft non-trivial without an existing compromise or major misconfiguration. Additionally, the gateway is still performing Referer checks when TLS edge termination is in place, which, while not as strict as Origin validation, reduces exposure in many real-world setups. The need for a valid authenticated session and precise token alignment means the attacker cannot simply trick a user into visiting a malicious site and execute arbitrary state-changing requests; they must overcome multiple layered controls.

Red Hat's mitigation

Use HTTPS on the platform ingress if possible.

Since this is a problem in edge-terminated AAP deployments where requests have TLS terminated right before the platform ingress, enforce trusted origins before requests reach the gateway.

A tool such as a Web-application firewall should be able to manage this issue.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.5 for RHEL 8automation-gateway-0:2.5.20250730-2.el8apFixed 2025-08-04RHSA-2025:12772
Red Hat Ansible Automation Platform 2.5 for RHEL 9automation-gateway-0:2.5.20250730-2.el9apFixed 2025-08-04RHSA-2025:12772

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-5988.

Attack patterns (CAPEC)

  • CAPEC-62 Cross Site Request Forgery Likelihood: High · Severity: Very High
  • CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) Likelihood: High · Severity: High
  • CAPEC-462 Cross-Domain Search Timing Severity: Medium
  • CAPEC-467 Cross Site Identification Severity: Low

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

References

Check your stackJSON