Skip to content
VulniPulse
Advisory severityMedium5.3Red Hat Linux

Medium [CVE-2025-5988] Aap-gateway: csrf origin checking is disabled

This medium-severity Red Hat Linux advisory covers CVE-2025-5988 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-5988 Source published Source updated

VulniPulse record published

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

Summary

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.

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 severity: Moderate — CVSS 5.3 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N).

Weakness: CWE-352. 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:12772.

Is CVE-2025-5988 exploited?

No exploitation is reported in the sources VulniPulse tracks: CVE-2025-5988 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-5988?

Upgrade to a fixed release named by Red Hat:

  • automation-gateway-0:2.5.20250730-2.el8ap
  • automation-gateway-0:2.5.20250730-2.el9ap
  • RHSA-2025:12772

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 5 days ago·verify at source

Fixed versions
  • automation-gateway-0:2.5.20250730-2.el8ap
  • automation-gateway-0:2.5.20250730-2.el9ap
  • RHSA-2025:12772

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

Mitigation checklist

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

Official advisory · high-confidence parse· fetched 5 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.