CVE-2025-9909 Aap-gateway: improper path validation in gateway allows credential exfiltration
A malicious administrator can create misleading routes to intercept and exfiltrate user credentials in Red Hat Ansible Automation Platform.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-9909?
CVE-2025-9909 is a medium-severity path traversal vulnerability in Red Hat Ansible Automation Platform 2.5, published on 27 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A flaw was found in the Red Hat Ansible Automation Platform Gateway route creation component. This vulnerability allows credential theft via the creation of misleading routes using a double-slash (//) prefix in the gateway_path. A malicious or socially engineered administrator can configure a honey-pot route to intercept and exfiltrate user credentials, potentially maintaining persistent access or creating a backdoor even after their permissions are revoked.
Weakness: CWE-647
Which versions are affected by CVE-2025-9909?
It affects 3 products.
Products include Redhat Ansible Automation Platform, Redhat Ansible Developer, Redhat Ansible Inside.
How do I fix CVE-2025-9909?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-9909 being exploited?
There is no known exploitation of CVE-2025-9909 in the wild and no public exploit code.
Other vulnerabilities in Red Hat Ansible Automation Platform 2.5
- CVE-2021-4112 Privilege escalation in ansible-tower
- CVE-2023-4237 Platform: ec2_key module prints out the private key directly to the standard output
- CVE-2021-3583 Improper Input Validation and Command Injection in Ansible
- CVE-2025-9907 Event-driven-ansible: event stream test mode exposes sensitive headers in aap eda
- CVE-2025-9908 Event-driven-ansible: sensitive internal headers disclosure in aap eda event streams
Sources
Also known as GHSA-2fx4-vwf2-pw99.