{
  "threat_severity" : "Important",
  "public_date" : "2026-07-15T17:12:31Z",
  "bugzilla" : {
    "description" : "aap-gateway: missing requestHeadersToRemove allows mTLS bypass via Subject header spoofing",
    "id" : "2489126",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2489126"
  },
  "cvss3" : {
    "cvss3_base_score" : "8.2",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N",
    "status" : "verified"
  },
  "cwe" : "CWE-290",
  "details" : [ "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.", "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." ],
  "statement" : "This flaw affects AAP deployments that use mTLS-protected EDA external event streams. The Gateway component introduced in AAP 2.5 contains the Envoy proxy routing configuration. AAP 2.4 uses a different architecture (no Gateway/Envoy) and is not affected by this specific flaw, though the EDA-side trust-of-Subject-header issue (tracked separately) may still apply to AAP 2.4 deployments using mTLS with a different proxy configuration.",
  "acknowledgement" : "This issue was discovered by Chris Meyers (Red Hat).",
  "affected_release" : [ {
    "product_name" : "Red Hat Ansible Automation Platform 2.5 for RHEL 8",
    "release_date" : "2026-07-20T00:00:00Z",
    "advisory" : "RHSA-2026:42078",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:2.5::el8",
    "package" : "automation-gateway-0:2.5.20260715-1.el8ap"
  }, {
    "product_name" : "Red Hat Ansible Automation Platform 2.5 for RHEL 9",
    "release_date" : "2026-07-20T00:00:00Z",
    "advisory" : "RHSA-2026:42078",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:2.5::el9",
    "package" : "automation-gateway-0:2.5.20260715-1.el9ap"
  }, {
    "product_name" : "Red Hat Ansible Automation Platform 2.6 for RHEL 9",
    "release_date" : "2026-05-04T00:00:00Z",
    "advisory" : "RHSA-2026:13508",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:2.6::el9",
    "package" : "automation-gateway-0:2.6.20260422-1.el9ap"
  }, {
    "product_name" : "Red Hat Ansible Automation Platform 2.6",
    "release_date" : "2026-05-04T00:00:00Z",
    "advisory" : "RHSA-2026:13545",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:2.6::el9",
    "package" : "ansible-automation-platform-26/gateway-rhel9:1777311120"
  }, {
    "product_name" : "Red Hat Ansible Automation Platform 2.7",
    "release_date" : "2026-07-20T00:00:00Z",
    "advisory" : "RHSA-2026:42142",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:2.7::el9",
    "package" : "ansible-automation-platform-27/gateway-rhel9:1783919486"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-12382\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-12382" ],
  "name" : "CVE-2026-12382",
  "mitigation" : {
    "value" : "The following practices would help for avoiding exposure and mitigate this flaw:\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.",
    "lang" : "en:us"
  },
  "csaw" : false
}