CVE-2025-9907 Event-driven-ansible: event stream test mode exposes sensitive headers in aap eda
Attackers can view sensitive headers and credentials in Event-Driven Ansible test mode, potentially leading to privilege escalation and data leakage.
- 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-9907?
CVE-2025-9907 is a medium-severity 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, Event-Driven Ansible (EDA) Event Stream API. This vulnerability allows exposure of sensitive client credentials and internal infrastructure headers via the test_headers field when an event stream is in test mode. The possible outcome includes leakage of internal infrastructure details, accidental disclosure of user or system credentials, privilege escalation if high-value tokens are exposed, and persistent sensitive data exposure to all users with read access on the event stream.
Weakness: CWE-200
Which versions are affected by CVE-2025-9907?
It affects 3 products.
Products include Redhat Ansible Automation Platform, Redhat Ansible Developer, Redhat Ansible Inside.
How do I fix CVE-2025-9907?
Apply the vendor's patch.
Is CVE-2025-9907 being exploited?
There is no known exploitation of CVE-2025-9907 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-9908 Event-driven-ansible: sensitive internal headers disclosure in aap eda event streams
- CVE-2025-9909 Aap-gateway: improper path validation in gateway allows credential exfiltration
Sources
Also known as GHSA-3mcc-r9wq-f9g6.