The short version
- Affected: Traefik 2.x below 2.11.62, 3.0.0 through 3.7.17, and 3.8.0-rc.1, when the default
sanitizePathoption is on and a public router shares a backend with a router protected by an auth middleware (GitHub advisory). - Fixed in: v2.11.62, v3.7.18 and v3.8.0-rc.2, all released 10 November 2026 (v2.11.62, v3.7.18, v3.8.0-rc.2). Traefik v3.0 to v3.6 are end of life and get no patch.
- Severity: CVSS 3.1 9.3 Critical and CVSS 4.0 7.8 High, both from VulnCheck as the CVE Numbering Authority; the GitHub advisory shows the 7.8 High score (CVE record).
- Exploited: not known. No source we read reports attacks, and CISA's KEV feed has no entry (Brandefense, Rescana).
- Do now: run
traefik versionon every instance. Anything below 2.11.62 or 3.7.18 that fronts a Java servlet or Spring backend with both open and protected routes needs the upgrade today.
1. What CVE-2026-137481 is
Traefik's sanitizePath entry point option is on by default. It resolves . and .. segments and collapses duplicate slashes before Traefik matches routers and runs middleware (entrypoints reference). The advisory says it did not handle a dot-segment that carries a path parameter, such as /..;x/. Traefik matched routers on the unresolved path and forwarded it unchanged (GitHub advisory).
Some backends strip path parameters before they resolve the path. The advisory names Servlet containers and Spring. To such a backend, /public/..;x/admin is /admin. To an affected Traefik, the request starts with /public, so it matches the public router, skips the protected router's BasicAuth, ForwardAuth or similar middleware, and still lands on the protected resource at the backend. The attacker needs no credentials and no user interaction.
The fix is pull request 14188, which makes sanitizePath drop the parameters from .., . and empty segments before cleaning the path, so /foo/..;bar/baz is forwarded as /baz (PR 14188, v3.7 migration guide). The fix only runs when sanitizePath is enabled. A follow-up pull request that extends the same handling to percent-encoded delimiters was still open on 27 November 2026 and is not in any release (PR 14321). The reporter is credited as TristanInSec. Traefik published the advisory on 12 November 2026; VulnCheck published the CVE on 26 November 2026, and NVD lists it as Awaiting Analysis (NVD).
2. Impact: who is exposed and how badly
Three things must be true at once. Traefik is an affected version with sanitizePath on, which is the default. An unauthenticated router and a router guarded by an authentication or authorization middleware point at the same backend service. That backend ignores path parameters, as Java servlet containers and Spring do. When all three hold, anyone who can reach the entry point reaches the protected paths. The CVSS 3.1 vector marks confidentiality High and integrity Low with scope Changed: the proxy's flaw exposes the application behind it (CVE record).
| What you run | Affected | Fixed | Source |
|---|---|---|---|
| Traefik 2.x | every release up to 2.11.61 | 2.11.62, current 2.11.64 | advisory, v2.11.64 |
| Traefik 3.0 to 3.6 | all releases | none, end of life, move to 3.7 | advisory |
| Traefik 3.7 | 3.7.0 to 3.7.17 | 3.7.18, current 3.7.20 | v3.7.20 |
| Traefik 3.8 | 3.8.0-rc.1 | 3.8.0-rc.2, GA 3.8.0 on 23 Nov 2026 | v3.8.0-rc.2 |
Docker Hub traefik image | tags up to v2.11.61, v3.7.17, v3.8.0-rc.1 | v2.11.62, v3.7.18, v3.8.0-rc.2 pushed 11 Nov; latest, v3, v3.7, v2.11 rebuilt on fixed versions the same day and last moved 24 Nov | Docker Hub, official-images history |
| Traefik Helm chart | 42.3.x and older default to affected images | 42.4.0 (12 Nov) defaults to v3.7.18, 42.4.3 to v3.7.20 | chart v42.4.0 |
| k3s bundled Traefik | v1.37.2+k3s1 and v1.36.6+k3s1 ship v3.7.15 | v1.37.3, v1.36.7, v1.35.11 release candidates of 25 Nov ship v3.7.19 | k3s v1.37.2+k3s1, k3s PR 15011 |
Alpine Linux traefik, edge only | any build below 3.7.18 | 3.7.19-r1, built 25 Nov; no stable branch ships Traefik | Alpine packages |
Homebrew traefik | any build below 3.7.18 | 3.8.0 | formula |
Not affected: Traefik 2.11.62, 3.7.18, 3.8.0-rc.2 or later. Still running affected code, but without the condition the advisory describes: deployments where every protected router has its own backend service, or where the backend keeps path parameters as part of the path and so sees the same path Traefik matched. Debian and Ubuntu ship no Traefik package; the Debian tracker lists only an intent to package (Debian tracker). Traefik with sanitizePath set to false does not get this fix, and Traefik's documentation already calls that setting unsafe.
3. How to check if you are affected
- Read the version from the binary. The
versioncommand prints aVersion:line (CLI docs, source template). You want 2.11.62 or higher on the 2 line, 3.7.18 or higher on the 3 line. Anything 3.0 to 3.6 is affected and unsupported.
traefik version
docker exec <container> traefik version
- Container images. Check the tag in your Dockerfile, Compose file or task definition, and what is actually running. Floating tags such as
latestorv3have pointed at fixed builds since 11 November, so a container started before then, or never re-pulled, may still be old.
grep -i '^FROM traefik' Dockerfile
docker ps --format '{{.Names}} {{.Image}}' | grep -i traefik
docker run --rm traefik:v3.7.17 version
aws ecs describe-task-definition --task-definition <family> --query 'taskDefinition.containerDefinitions[*].image'
- Kubernetes and Helm. List the image every Traefik pod runs and the chart's app version. Chart 42.4.0 or later defaults to a fixed image; older charts with
image.tagunset run an affected one.
kubectl get pods -A -o jsonpath='{range .items[*]}{.metadata.namespace}{" "}{.metadata.name}{" "}{.spec.containers[*].image}{"\n"}{end}' | grep -i traefik
helm list -A -f traefik
- k3s. Traefik is installed by default in the
kube-systemnamespace from a bundled Helm chart (k3s docs). k3s v1.37.2+k3s1 and v1.36.6+k3s1 ship Traefik v3.7.15, which is affected.
kubectl -n kube-system get deploy traefik -o jsonpath='{.spec.template.spec.containers[0].image}{"\n"}'
- Find shared backends. With the API enabled,
/api/http/routerslists every router with itsserviceandmiddlewares(API reference). Look for two routers with the same service where only one carries BasicAuth, DigestAuth, ForwardAuth or an IP allow list. The dashboard shows the same data. If no two routers share a service, the bypass has nothing to reach.
curl -s http://localhost:8080/api/http/routers | jq -r '.[] | "\(.service)\t\(.name)\t\(.middlewares // [] | join(","))"' | sort
- Ask what the backend does with path parameters. The advisory names Servlet containers and Spring as backends that strip them. If the shared service in step 5 is a Java application, treat the instance as exposed. For other stacks, check the framework's documentation on
;in path segments; if it does not say, assume exposed until patched.
- Check sanitizePath. The option lives under
entryPoints.<name>.http.sanitizePathin the static configuration, default true. If any entry point sets it to false, the fix will not protect that entry point.
grep -rn -i 'sanitizePath' /etc/traefik/ traefik.yml traefik.toml 2>/dev/null
ps -o args= -C traefik | tr ' ' '\n' | grep -i sanitizepath
4. How to fix it
- Pick the target. Go to the newest release on your line: v2.11.64, v3.7.20 or v3.8.0, all released 23 November 2026 and carrying further advisories fixed after this one (v2.11.64, v3.7.20, releases). The minimum is v2.11.62 or v3.7.18. From 3.0 to 3.6, move to 3.7 and read the migration guide (v3 migration).
- Containers. Change the
FROMline or image tag totraefik:v3.7.20,traefik:v2.11.64ortraefik:v3.8.0, then redeploy (Docker Hub). A floating tag needs a fresh pull. These commands change what runs.
docker pull traefik:v3.7.20
docker compose up -d traefik
- Helm. Upgrade the chart to 42.4.0 or later, or pin the image. Chart 43.0.0 moves to Traefik 3.8 and needs a CRD update (chart releases). These commands change the cluster.
helm repo update
helm upgrade traefik traefik/traefik -n <namespace> --version 42.4.3
helm upgrade traefik traefik/traefik -n <namespace> --reuse-values --set image.tag=v3.7.20
- k3s. Upgrade to a k3s release that bundles Traefik v3.7.19, which was v1.37.3-rc1+k3s1, v1.36.7-rc1+k3s1 and v1.35.11-rc1+k3s1 on 25 November (k3s releases). Until a stable release lands, override the image through a HelmChartConfig in
/var/lib/rancher/k3s/server/manifests/withvaluesContentsettingimage.tag(k3s docs). Do not edit the bundledtraefik.yaml; k3s overwrites it.
- Binaries and packages. Download the release asset from GitHub and replace the binary, or
brew upgrade traefikfor Homebrew 3.8.0, orapk upgrade traefikon Alpine edge for 3.7.19-r1. These change the system.
- Restart and confirm. Traefik does not reload its own binary; the process or pod must restart. Then repeat check step 1 and confirm
Version:shows 2.11.62, 3.7.18 or higher on every instance.
5. If you cannot patch today
Traefik publishes no workaround for this advisory; the GitHub advisory has no workaround section. The following are generic cuts, not vendor guidance:
- Give every router that carries an auth middleware its own backend service, so no public router shares a service with it. This removes the condition the advisory describes.
- Enforce authentication inside the application as well as at the proxy. The bypass only matters where the backend trusts the proxy alone.
- Restrict the entry point by network: security group, firewall or an IP allow list middleware on the public router.
Setting sanitizePath to false is not a mitigation. It disables all dot-segment handling and Traefik's documentation marks it unsafe.
6. How to tell if you were already hit
Nothing is published. The advisory, the CVE record and the write-ups we read give no indicators of compromise and report no attacks. Rescana suggests reviewing Traefik access logs for requests whose path has a semicolon directly after a dot-segment and that reached a protected path through a public router (Rescana). In JSON access logs the fields are RequestPath, RouterName and ServiceName; in the common format the request line holds the path (access log docs). Compare with the backend's own logs: a protected URL served without a matching authenticated proxy entry is a lead, not proof.
grep -E '/\.\.?;|/;' /var/log/traefik/access.log | grep -v '"RouterName":"<protected-router>'
If a protected admin interface was reached, assume the usual pattern: credentials or tokens visible there were read and used from elsewhere. Rotate what the exposed pages could reveal.
7. How autonomous DevOps handles a bug like this
Check steps 2 and 3 above are inventory questions: which traefik tag each Dockerfile's FROM line pins and which image each ECS task definition runs. Compass, Beamreach's open-source operations agent for AWS, keeps that map current along with whether the workload faces the internet, so on 26 November the answer is a lookup rather than a sweep (Compass). Traefik is on its default product list and the CVSS 3.1 score of 9.3 clears its 7.0 threshold, so a matching image on the map gets a fix without a click.
The fix is the kind of change its patch pull requests make: a base image tag from traefik:v3.7.17 to traefik:v3.7.20. The pull request runs the repository's CI and the image build, plus an optional canary on a staging copy that compares health checks, 5xx rate and p95 latency with before. Compass never merges (patching docs).
The limits matter here. Compass covers AWS only, not Kubernetes clusters as such, so Helm releases and k3s nodes are outside it. It does not read Traefik's router configuration, so step 5, finding routers that share a backend, is a person's job. A binary installed from a GitHub release is not on any tracker it follows and waits in the inbox. It does not cross a major version, so a Traefik 2.x image is not moved to 3.x; that migration waits in the inbox for a person.
For the window before the fix is deployed, a honeytoken is a partial answer. A decoy AWS key or database login visible from the admin pages behind the protected router trips only if an attacker reaches them and uses it, and the policy-gated response does not fix the vulnerability. Our PHP2Shell incident in October 2026 was contained that way in under two minutes (write-up). The first-day steps are collected in our critical vulnerability checklist.
8. Sources
- Traefik GitHub advisory GHSA-cp28-5662-543f: https://github.com/traefik/traefik/security/advisories/GHSA-cp28-5662-543f
- VulnCheck advisory: https://www.vulncheck.com/advisories/traefik-before-2.11.62-authorization-bypass-via-sanitizepath-path-parameter-dot-segments
- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-137481
- CVE record JSON: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/137xxx/CVE-2026-137481.json
- NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2026-137481
- Traefik v2.11.62 release: https://github.com/traefik/traefik/releases/tag/v2.11.62
- Traefik v3.7.18 release: https://github.com/traefik/traefik/releases/tag/v3.7.18
- Traefik v3.8.0-rc.2 release: https://github.com/traefik/traefik/releases/tag/v3.8.0-rc.2
- Traefik v2.11.64 release: https://github.com/traefik/traefik/releases/tag/v2.11.64
- Traefik v3.7.20 release: https://github.com/traefik/traefik/releases/tag/v3.7.20
- Traefik releases: https://github.com/traefik/traefik/releases
- Fix pull request 14188: https://github.com/traefik/traefik/pull/14188
- Follow-up pull request 14321: https://github.com/traefik/traefik/pull/14321
- Traefik v3 migration guide: https://doc.traefik.io/traefik/v3.7/migrate/v3/
- Traefik v2 migration guide: https://doc.traefik.io/traefik/v2.11/migration/v2/
- Traefik entrypoints reference, sanitizePath: https://doc.traefik.io/traefik/v3.7/reference/install-configuration/entrypoints/
- Traefik API reference: https://doc.traefik.io/traefik/v3.7/reference/install-configuration/api-dashboard/
- Traefik access log reference: https://doc.traefik.io/traefik/v3.7/reference/install-configuration/observability/logs-and-accesslogs/
- Traefik CLI docs: https://doc.traefik.io/traefik/v2.11/operations/cli/
- Traefik version command source: https://github.com/traefik/traefik/blob/v3.7.18/cmd/version/version.go
- Docker Hub, traefik: https://hub.docker.com/_/traefik
- Docker official-images history for traefik: https://github.com/docker-library/official-images/commits/master/library/traefik
- Traefik Helm chart v42.4.0: https://github.com/traefik/traefik-helm-chart/releases/tag/v42.4.0
- Traefik Helm chart releases: https://github.com/traefik/traefik-helm-chart/releases
- Traefik Helm chart values: https://github.com/traefik/traefik-helm-chart/blob/v42.4.3/traefik/values.yaml
- k3s networking services docs: https://docs.k3s.io/networking/networking-services
- k3s pull request 15011: https://github.com/k3s-io/k3s/pull/15011
- k3s v1.37.2+k3s1 release: https://github.com/k3s-io/k3s/releases/tag/v1.37.2%2Bk3s1
- k3s releases: https://github.com/k3s-io/k3s/releases
- Alpine traefik package: https://pkgs.alpinelinux.org/packages?name=traefik
- Homebrew traefik formula: https://formulae.brew.sh/formula/traefik
- Debian security tracker: https://security-tracker.debian.org/tracker/CVE-2026-137481
- Rescana, 27 November 2026: https://www.rescana.com/post/traefik-cve-2026-137481-auth-middleware-bypass-and-three-more-flaws-update-now
- Brandefense, 27 November 2026: https://brandefense.io/knowledge-hub/vulnerabilities/cve-2026-137481/
- Compass patching docs: https://github.com/beamreach-ai/compass/blob/main/docs/patching.md
- PHP2Shell contained in two minutes: https://beamreach.ai/docs/php2shell-contained-in-two-minutes.html
- Critical vulnerability first 24 hours checklist: https://beamreach.ai/docs/critical-rce-first-24-hours-checklist.html
9. FAQ
Is my Traefik affected by CVE-2026-137481?
If traefik version prints anything below 2.11.62 on the 2 line, anything from 3.0.0 to 3.7.17, or 3.8.0-rc.1, the code is affected. Whether it can be abused depends on your routes: a public router and an auth-protected router must share a backend service, and that backend must strip path parameters, as Java servlet containers and Spring do. Patch regardless; the version check is the one that matters.
Which Traefik version fixes CVE-2026-137481?
v2.11.62, v3.7.18 and v3.8.0-rc.2, all released on 10 November 2026. The current releases v2.11.64, v3.7.20 and v3.8.0 from 23 November include the fix and later ones. Traefik 3.0 to 3.6 are end of life and will not be patched; move to 3.7.
Is CVE-2026-137481 being exploited?
Not as far as anyone has reported by 27 November 2026. It is not in CISA's Known Exploited Vulnerabilities catalogue, and neither Traefik, VulnCheck nor the write-ups we read mention attacks or a public proof of concept.
Is there a workaround for the Traefik sanitizePath bypass?
No vendor workaround is published. You can remove the condition by giving auth-protected routers their own backend service, enforcing authentication in the application, or restricting the entry point by network. Disabling sanitizePath makes things worse, not better.
Does CVE-2026-137481 affect Traefik in k3s?
Yes, when the bundled Traefik is older than 3.7.18. k3s v1.37.2+k3s1 and v1.36.6+k3s1 ship Traefik v3.7.15. The release candidates published on 25 November 2026 move to v3.7.19. Until you upgrade k3s, pin the image through a HelmChartConfig with image.tag.
Last checked: 27 November 2026. Written from the vendor advisory and the CVE record, linked below. Confirm against the vendor advisory before acting.
Related: CVE Watch: all pages · How to protect against *2Shell vulnerabilities · Automated patching compared · AWS canary credentials
Beamreach