Aap-gateway: missing requestheaderstoremove allows mtls bypass via subject header spoofing
Summary
| CVE | CVE-2026-12382 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-15 18:16:44 UTC |
| Updated | 2026-07-21 05:16:33 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 8.2 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
EPSS: 0.003660000 probability, percentile 0.289560000 (date 2026-07-21)
Problem Types: CWE-290 | CWE-290 Authentication Bypass by Spoofing
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
| 3.1 | CNA | CVSS | 8.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
CVSS v3.1 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Ansible Automation Platform 2.5 For RHEL 8 | unaffected 0:2.5.20260715-1.el8ap * rpm | Not specified |
| CNA | Red Hat | Red Hat Ansible Automation Platform 2.5 For RHEL 9 | unaffected 0:2.5.20260715-1.el9ap * rpm | Not specified |
| CNA | Red Hat | Red Hat Ansible Automation Platform 2.6 For RHEL 9 | unaffected 0:2.6.20260422-1.el9ap * rpm | Not specified |
| CNA | Red Hat | Red Hat Ansible Automation Platform 2.6 | unaffected 1777311120 * rpm | Not specified |
| CNA | Red Hat | Red Hat Ansible Automation Platform 2.7 | unaffected 1783919486 * rpm | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/errata/RHSA-2026:42142 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:13545 | [email protected] | access.redhat.com | |
| access.redhat.com/security/cve/CVE-2026-12382 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:13508 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:42078 | [email protected] | access.redhat.com | |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: This issue was discovered by Chris Meyers (Red Hat). (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-06-16T10:01:29.314Z | Reported to Red Hat. |
| CNA | 2026-07-15T17:12:31.720Z | Made public. |
Workarounds
CNA: 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.