{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-12382",
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "state": "PUBLISHED",
        "assignerShortName": "redhat",
        "dateReserved": "2026-06-16T10:07:17.206Z",
        "datePublished": "2026-07-15T17:21:28.516Z",
        "dateUpdated": "2026-08-12T17:34:15.091Z"
    },
    "containers": {
        "cna": {
            "title": "Aap-gateway: missing requestheaderstoremove allows mtls bypass via subject header spoofing",
            "metrics": [
                {
                    "other": {
                        "content": {
                            "value": "Important",
                            "namespace": "https://access.redhat.com/security/updates/classification/"
                        },
                        "type": "Red Hat severity rating"
                    }
                },
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 8.2,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N",
                        "version": "3.1"
                    },
                    "format": "CVSS"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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": [
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Ansible Automation Platform 2.5 for RHEL 8",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "packageName": "automation-gateway",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "0:2.5.20260715-1.el8ap",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:ansible_automation_platform:2.5::el8",
                        "cpe:/a:redhat:ansible_automation_platform:2.5::el9",
                        "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_inside:2.5::el8",
                        "cpe:/a:redhat:ansible_automation_platform_inside:2.5::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Ansible Automation Platform 2.5 for RHEL 9",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "packageName": "automation-gateway",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "0:2.5.20260715-1.el9ap",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:ansible_automation_platform:2.5::el8",
                        "cpe:/a:redhat:ansible_automation_platform:2.5::el9",
                        "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_inside:2.5::el8",
                        "cpe:/a:redhat:ansible_automation_platform_inside:2.5::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Ansible Automation Platform 2.6 for RHEL 9",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "packageName": "automation-gateway",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "0:2.6.20260422-1.el9ap",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:ansible_automation_platform:2.6::el10",
                        "cpe:/a:redhat:ansible_automation_platform:2.6::el9",
                        "cpe:/a:redhat:ansible_automation_platform_developer:2.6::el10",
                        "cpe:/a:redhat:ansible_automation_platform_developer:2.6::el9",
                        "cpe:/a:redhat:ansible_automation_platform_inside:2.6::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Ansible Automation Platform 2.6",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "ansible-automation-platform-26/gateway-rhel9",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "1777311120",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:ansible_automation_platform:2.6::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Ansible Automation Platform 2.7",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "ansible-automation-platform-27/gateway-rhel9",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "1783919486",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:ansible_automation_platform:2.7::el9"
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://access.redhat.com/errata/RHSA-2026:13508",
                    "name": "RHSA-2026:13508",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/errata/RHSA-2026:13545",
                    "name": "RHSA-2026:13545",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/errata/RHSA-2026:42078",
                    "name": "RHSA-2026:42078",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/errata/RHSA-2026:42142",
                    "name": "RHSA-2026:42142",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/security/cve/CVE-2026-12382",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2489126",
                    "name": "RHBZ#2489126",
                    "tags": [
                        "issue-tracking",
                        "x_refsource_REDHAT"
                    ]
                }
            ],
            "datePublic": "2026-07-15T17:12:31.720Z",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-290",
                            "description": "Authentication Bypass by Spoofing",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "x_redhatCweChain": "CWE-290: Authentication Bypass by Spoofing",
            "workarounds": [
                {
                    "lang": "en",
                    "value": "The following practices would help for avoiding exposure and mitigate this flaw:\n\n- 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.\n- If mTLS-protected event streams are in use, ensure that only the /mtls/eda-event-streams/ route is accessible from untrusted networks.\n- Monitor EDA event stream activity for unexpected events_received counter increases that may indicate unauthorized event injection.\n- Review Envoy proxy logs for requests to the non-mTLS event stream route from unexpected source IPs."
                }
            ],
            "timeline": [
                {
                    "lang": "en",
                    "time": "2026-06-16T10:01:29.314Z",
                    "value": "Reported to Red Hat."
                },
                {
                    "lang": "en",
                    "time": "2026-07-15T17:12:31.720Z",
                    "value": "Made public."
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "This issue was discovered by Chris Meyers (Red Hat)."
                }
            ],
            "providerMetadata": {
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat",
                "dateUpdated": "2026-07-21T04:16:26.499Z"
            },
            "x_generator": {
                "engine": "cvelib 1.8.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-08-12T17:34:11.503115Z",
                                "id": "CVE-2026-12382",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-08-12T17:34:15.091Z"
                }
            }
        ]
    }
}