CVE-2025-5988 Aap-gateway: csrf origin checking is disabled
Attackers can bypass CSRF origin checks in Ansible aap-gateway, potentially forcing actions on external components like controller or hub.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-5988?
CVE-2025-5988 is a medium-severity vulnerability in Red Hat Ansible Automation Platform 2.5 for RHEL 8, published on 4 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-352
Which versions are affected by CVE-2025-5988?
How do I fix CVE-2025-5988?
Apply the vendor's patch.
Is CVE-2025-5988 being exploited?
There is no known exploitation of CVE-2025-5988 in the wild and no public exploit code.
Sources
Also known as GHSA-w8g9-rc94-7pq8.