Red Hat Ansible Automation Platform 2.5 for RHEL 8
Aap-gateway: missing requestheaderstoremove allows mtls bypass via subject header spoofing
A flaw was found in the AAP Gateway Envoy proxy configuration. The non-mTLS route to EDA event streams does not remove the Subject HTTP header from client requests, despite the source code defining requestHeadersToRemove for this header. An unauthenticated remote attacker can inject a spoofed Subject header matching a legitimate client certificate DN to bypass mTLS authentication and inject arbitrary events into protected EDA event streams.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:2.5.20260715-1.el8ap
Fixed in 0:2.5.20260715-1.el9ap
Fixed in 0:2.6.20260422-1.el9ap
Fixed in 1777311120
Fixed in 1783919486
Mitigation
Upgrade Red Hat Ansible Automation Platform 2.5 for RHEL 8 to 0:2.5.20260715-1.el8ap or later.
Upgrade Red Hat Ansible Automation Platform 2.5 for RHEL 9 to 0:2.5.20260715-1.el9ap or later.
Upgrade Red Hat Ansible Automation Platform 2.6 for RHEL 9 to 0:2.6.20260422-1.el9ap or later.
Upgrade Red Hat Ansible Automation Platform 2.6 to 1777311120 or later.
Upgrade Red Hat Ansible Automation Platform 2.7 to 1783919486 or later.
Workaround
The following practices would help for avoiding exposure and mitigate this flaw: - Restrict network access to the non-mTLS EDA event stream route (/eda-event-streams/) at the firewall or load balancer level, allowing only trusted internal sources. - If mTLS-protected event streams are in use, ensure that only the /mtls/eda-event-streams/ route is accessible from untrusted networks. - Monitor EDA event stream activity for unexpected events_received counter increases that may indicate unauthorized event injection. - Review Envoy proxy logs for requests to the non-mTLS event stream route from unexpected source IPs.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:13508
- Vendor advisory access.redhat.com/errata/RHSA-2026:13545
- Vendor advisory access.redhat.com/errata/RHSA-2026:42078
1 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:42142
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.