{"id":"CVE-2025-5988","published":"2025-08-04T15:16:43Z","modified":"2026-11-05T16:32:27Z","title":"Aap-gateway: csrf origin checking is disabled","vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 8","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00291,"percentile":0.22168,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:12772","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-5988","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2371644","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":8.1,"factors":[{"name":"EPSS percentile","points":4.43},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["< 2.5.20250730"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 9","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-08-04T15:32:38.892622Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-23518","exploited":false,"provenance":"source"}}