{"id":"CVE-2025-5988","state":"PUBLISHED","title":"Aap-gateway: csrf origin checking is disabled","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.","publishedAt":"2025-08-04T15:16:43.526Z","updatedAt":"2025-11-07T21:40:51.803Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"redhat"},"assigner":"redhat","products":["automation-gateway-server","Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8","Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9"],"affected":[{"packageName":"automation-gateway-server","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.5.20250730","versionType":"semver"}],"collectionURL":"https://gitlab.cee.redhat.com/ansible/aap-gateway/"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 8","packageName":"automation-gateway","defaultStatus":"affected","versions":[{"version":"0:2.5.20250730-2.el8ap","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:ansible_automation_platform_developer:2.5::el8","cpe:/a:redhat:ansible_automation_platform_developer:2.5::el9","cpe:/a:redhat:ansible_automation_platform:2.5::el8","cpe:/a:redhat:ansible_automation_platform:2.5::el9"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 9","packageName":"automation-gateway","defaultStatus":"affected","versions":[{"version":"0:2.5.20250730-2.el9ap","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:ansible_automation_platform_developer:2.5::el8","cpe:/a:redhat:ansible_automation_platform_developer:2.5::el9","cpe:/a:redhat:ansible_automation_platform:2.5::el8","cpe:/a:redhat:ansible_automation_platform:2.5::el9"]}],"references":["https://access.redhat.com/errata/RHSA-2025:12772","https://access.redhat.com/security/cve/CVE-2025-5988","https://bugzilla.redhat.com/show_bug.cgi?id=2371644"],"weaknesses":["CWE-352"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/5xxx/CVE-2025-5988.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-5988","state":"PUBLISHED","datePublished":"2025-08-04T15:16:43.526Z","dateUpdated":"2025-11-07T21:40:51.803Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2025-06-11T02:08:01.199Z"},"containers":{"cna":{"title":"Aap-gateway: csrf origin checking is disabled","descriptions":[{"lang":"en","value":"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."}],"affected":[{"packageName":"automation-gateway-server","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.5.20250730","versionType":"semver"}],"collectionURL":"https://gitlab.cee.redhat.com/ansible/aap-gateway/"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 8","packageName":"automation-gateway","defaultStatus":"affected","versions":[{"version":"0:2.5.20250730-2.el8ap","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:ansible_automation_platform_developer:2.5::el8","cpe:/a:redhat:ansible_automation_platform_developer:2.5::el9","cpe:/a:redhat:ansible_automation_platform:2.5::el8","cpe:/a:redhat:ansible_automation_platform:2.5::el9"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 9","packageName":"automation-gateway","defaultStatus":"affected","versions":[{"version":"0:2.5.20250730-2.el9ap","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:ansible_automation_platform_developer:2.5::el8","cpe:/a:redhat:ansible_automation_platform_developer:2.5::el9","cpe:/a:redhat:ansible_automation_platform:2.5::el8","cpe:/a:redhat:ansible_automation_platform:2.5::el9"]}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:12772","name":"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","name":"RHBZ#2371644","tags":["issue-tracking","x_refsource_REDHAT"]}],"metrics":[{"other":{"content":{"value":"Moderate","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-352","description":"Cross-Site Request Forgery (CSRF)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2025-11-07T21:40:51.803Z"},"datePublic":"2025-08-04T00:00:00.000Z","x_redhatCweChain":"CWE-352: Cross-Site Request Forgery (CSRF)","workarounds":[{"lang":"en","value":"Use HTTPS on the platform ingress if possible.\n\nSince 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.\n\nA tool such as a Web-application firewall should be able to manage this issue."}],"timeline":[{"lang":"en","time":"2025-06-11T02:04:46.046Z","value":"Reported to Red Hat."},{"lang":"en","time":"2025-08-04T00:00:00.000Z","value":"Made public."}],"credits":[{"lang":"en","value":"This issue was discovered by Brennan Paciorek (Red Hat Inc.), Chris Meyers (Red Hat Inc.), Hao Liu (Red Hat Inc.), and Julen Landa Alustiza (Red Hat Inc.)."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-08-04T15:32:38.892622Z","id":"CVE-2025-5988","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-08-04T15:32:55.872Z"}}]}}}