{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.11.51"
              },
              {
                "introduced": "3.0.0"
              },
              {
                "fixed": "3.6.22"
              },
              {
                "introduced": "3.7.0"
              },
              {
                "fixed": "3.7.6"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e7a344b5a105c87271c853d15b50de07c15fe641"
            },
            {
              "introduced": "d99d2f95e66a28ee8180634dc80fdf13ba68c62a"
            },
            {
              "fixed": "e15c8f86ba7370d01f529682f3b28d2f1d2bb4b5"
            },
            {
              "introduced": "04aa6bb4f9776f2ba87e5cd181d250e3610e6419"
            },
            {
              "fixed": "1afefcd7149ff331fa73ef62fb3dd69e3ced37ba"
            },
            {
              "fixed": "7ae92d8c2c10ac04ef5a03df0ed5019ce0f44b2d"
            }
          ],
          "repo": "https://github.com/traefik/traefik",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-3q9r-p662-5j8m"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-345"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54764.json"
  },
  "details": "Traefik is an HTTP reverse proxy and load balancer. Prior to v2.11.51, v3.6.22, and v3.7.6, Traefik's ForwardAuth middleware, even when configured with trustForwardHeader: false, derives the X-Forwarded-Port header sent to the authentication service from the original incoming request instead of the sanitized forwarded request. As a result, an unauthenticated remote attacker can inject an X-Forwarded-Proto: https header over a plain HTTP connection and cause Traefik to forward X-Forwarded-Port: 443 to the authentication service, bypassing port-based authorization checks. This issue is fixed in versions v2.11.51, v3.6.22, and v3.7.6.",
  "id": "CVE-2026-54764",
  "modified": "2026-08-12T03:51:33.973311020Z",
  "published": "2026-07-06T20:20:29.345Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54764.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/traefik/traefik/security/advisories/GHSA-3q9r-p662-5j8m"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-54764"
    },
    {
      "type": "FIX",
      "url": "https://github.com/traefik/traefik/commit/7ae92d8c2c10ac04ef5a03df0ed5019ce0f44b2d"
    },
    {
      "type": "FIX",
      "url": "https://github.com/traefik/traefik/pull/13344"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ForwardAuth middleware leaks X-Forwarded-Port spoofing via untrusted X-Forwarded-Proto when trustForwardHeader=false"
}