---
id: CVE-2026-67309
title: >-
  Traefik versions >= v3.7.0 and <= v3.7.7 contain a path traversal
  vulnerability in the Kubernetes Ingress NGINX provider's RewriteTarget
  middleware (generated from the nginx.ingress.kubernetes.io/rewrite-target
  annotation)
summary: >-
  Traefik versions >= v3.7.0 and <= v3.7.7 contain a path traversal
  vulnerability in the Kubernetes Ingress NGINX provider's RewriteTarget
  middleware (generated from the nginx.ingress.kubernetes.io/rewrite-target
  annotation). When an Ingre…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-22
vendor: traefik
product: traefik
affected:
  - 'traefik >= 3.7.0, < 3.7.8'
patched:
  - traefik 3.7.8
published: '2026-08-01'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T20:45:02.070'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-67309'
references:
  - url: >-
      https://github.com/traefik/traefik/commit/69259c3acc9d4bdc065cb2e3b83336f7de3e7038
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/traefik/traefik/commit/b93f02cd07b79490fb8c8f02e301a7a1ec553195
    label: disclosure@vulncheck.com
  - url: 'https://github.com/traefik/traefik/security/advisories/GHSA-8rxv-jg7p-wvg3'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/traefik-path-traversal-via-rewritetarget-authentication-bypass
    label: disclosure@vulncheck.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-67309.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-67309'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2510012'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-67309'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-67309'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
epss: 0.00659
epssPercentile: 0.49339
ingestedAt: '2026-08-02T07:18:01.670Z'
scores:
  nvd: 7.5
  vendor: 9.1
---

## Overview

Traefik versions >= v3.7.0 and <= v3.7.7 contain a path traversal vulnerability in the Kubernetes Ingress NGINX provider's RewriteTarget middleware (generated from the nginx.ingress.kubernetes.io/rewrite-target annotation). When an Ingress path uses a regex that captures attacker-controlled text without requiring a path separator (e.g., path /api(.*) with rewrite target /$1), a crafted request such as /api../admin matches the public router, is rewritten to a dot-segment traversal path (/../admin), and is forwarded without post-replacement normalization validation. A backend that normalizes dot segments resolves the path to a protected endpoint (e.g., /admin) reachable only through a separate router secured with BasicAuth, DigestAuth, or ForwardAuth, resulting in route-level authentication bypass. The issue is fixed in v3.7.8.

## Affected

- `traefik >= 3.7.0, < 3.7.8`

## Remediation

Upgrade past the affected range:

- `traefik 3.7.8`

## Vendor advisories

- **Red Hat VEX** · Critical · updated 2026-09-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-67309.json)
