CVE-2026-44774 — Vulnerability in traefik/traefik/v3 — CVE Details
Traefik: Gateway API TraefikService backend accepts rest@internal, allowing unauthorized exposure of the REST provider despite providers.rest.insecure=false
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.55%). Schedule for your next planned update.
Does your project use an affected github.com/traefik/traefik/v3 version?
Paste your go.sum to check it for CVE-2026-44774 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
There is a medium severity vulnerability in Traefik's Kubernetes Gateway API provider that allows a tenant with HTTPRoute creation permissions to expose the REST provider handler, bypassing the providers.rest.insecure=false setting. The Gateway provider accepts any TraefikService backend reference whose name ends with @internal, making it possible to route traffic to rest@internal in addition to the intended api@internal. In shared Gateway deployments where the REST provider is enabled, this allows a low-privileged actor to gain live dynamic configuration write access to Traefik, enabling unauthorized reconfiguration of routers and services.
Patches
- https://github.com/traefik/traefik/releases/tag/v2.11.46
- https://github.com/traefik/traefik/releases/tag/v3.6.17
- https://github.com/traefik/traefik/releases/tag/v3.7.1
For more information
If you have any questions or comments about this advisory, please open an issue.
Summary
When the Kubernetes Gateway API provider is enabled, Traefik accepts any TraefikService backend whose name ends with @internal. This allows a tenant-controlled HTTPRoute to publish rest@internal.
If providers.rest is enabled, this exposes Traefik's REST provider handler even when providers.rest.insecure=false, even though providers.rest.insecure=false is meant to keep the REST handler from being exposed by Traefik's built-in internal router. In a shared Gateway deployment, an actor with permission to create or update HTTPRoute resources in an allowed namespace can gain live Traefik dynamic-configuration write access through PUT /api/providers/rest.
Details
The Gateway provider treats internal services broadly rather than allowing only a specific internal target.
In current master, pkg/provider/kubernetes/gateway/kubernetes.go defines isInternalService(...) as any TraefikService reference whose name ends with @internal.
Then pkg/provider/kubernetes/gateway/httproute.go special-cases a single backend reference that matches isInternalService(...) and directly assigns router.Service = string(routeRule.BackendRefs[0].Name).
This means a tenant route can target not only api@internal, but also rest@internal and other internal handlers.
Separately, the REST provider handler is created whenever the REST provider is enabled. In pkg/server/service/managerfactory.go, if staticConfiguration.Providers.Rest != nil, Traefik sets factory.restHandler = staticConfiguration.Providers.Rest.CreateRouter().
The REST provider handler itself is implemented in pkg/provider/rest/rest.go and accepts PUT /api/providers/{provider}.
The providers.rest.insecure flag does not disable the underlying handler. In pkg/provider/traefik/internal.go, that flag only controls whether Traefik creates its own built-in internal router for rest@internal. Even when providers.rest.insecure=false, Traefik still registers the rest service object, and the service layer can still resolve rest@internal if another provider routes to it.
I validated this locally in two tests:
- the Gateway route-building path accepts
rest@internalas an internal backend through the same special-case branch used forapi@internal - the service layer builds and serves
rest@internalsuccessfully whenproviders.restis enabled andproviders.rest.insecure=false
The vulnerable code path is present in:
v3.0.0v3.6.7v2.11.0v2.11.36- current
masterat786f7192e11878dfaa634f8263bf79bb730a71cb
I verified the issue in v3.0.0, v3.6.7, v2.11.0, v2.11.36, and current master; the reported affected ranges reflect the maintained release lines checked during validation
I did not find a public Traefik advisory or CVE for this exact issue. The closest public overlap I found is the documented/tested Gateway support for api@internal, but the issue here is broader because the Gateway code accepts any @internal TraefikService, including the write-capable rest@internal handler.
Expected behavior
providers.rest.insecure=false should prevent low-privileged route authors from exposing the REST provider handler.
Actual behavior
A tenant-controlled Gateway route can still publish rest@internal and reach the REST update API.
Attacker prerequisites
- The Kubernetes Gateway API provider is enabled.
providers.rest=true.providers.rest.insecure=false.- A shared Gateway allows tenant namespaces to attach
HTTPRouteresources. - The attacker can create or update
HTTPRouteresources in an allowed tenant namespace.
PoC
- Configure Traefik so that the Kubernetes Gateway provider is enabled, the REST provider is enabled, and the REST provider is not exposed insecurely.
Example static configuration:
providers:
kubernetesGateway: {}
rest:
insecure: false
-
Ensure a shared Gateway allows tenant
HTTPRouteattachment. -
In an allowed tenant namespace, create an
HTTPRoutewhose backend points torest@internal:
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: expose-rest-internal
namespace: tenant-a
spec:
parentRefs:
- name: shared-gateway
namespace: infra
hostnames:
- rest.tenant.example
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- group: traefik.io
kind: TraefikService
name: rest@internal
port: 80
- Send a
PUTrequest through that published route to/api/providers/restwith a valid dynamic configuration body. A harmless proof can add a dummy router pointing tonoop@internal.
Example request body:
{
"http": {
"routers": {
"probe": {
"rule": "PathPrefix(`/probe`)",
"service": "noop@internal",
"ruleSyntax": "default"
}
}
}
}
- Observe that Traefik accepts the update and applies the supplied dynamic configuration, even though
providers.rest.insecure=false.
Impact
This is an authorization / trust-boundary bypass affecting shared Gateway deployments.
On affected deployments, an actor who should only be able to create or update HTTPRoute objects can escalate to live Traefik dynamic-configuration write access. That can allow unauthorized reconfiguration of routers and services, publication of additional internal surfaces, request interception or rerouting, and denial of service through destructive config changes.
On affected deployments, this gives a low-privileged Gateway route author live Traefik dynamic-configuration write access. This is critical for affected shared Gateway deployments because it can give a low-privileged route author live Traefik dynamic-configuration write access, but it depends on providers.rest being enabled.
This is not an unauthenticated vulnerability in all Traefik deployments. The issue depends on realistic but specific conditions:
providers.restmust be enabled- the attacker must be allowed to attach
HTTPRouteresources to a shared Gateway
Advisory Timeline
- First published May 13, 2026 (197 days ago).
- Last revised June 25, 2026 — 43 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/traefik/traefik/v3@v3.7.1
go get github.com/traefik/traefik/v2@v2.11.46
go get github.com/traefik/traefik/v3@v3.6.17
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Go (3).
| Package | Fixed In |
|---|---|
| github.com/traefik/traefik/v3 Go · Affected: 3.7.0 | 3.7.1 |
| github.com/traefik/traefik/v2 Go · Affected: All versions | 2.11.46 |
| github.com/traefik/traefik Go · Affected: All versions | Range-based data available |
| github.com/traefik/traefik/v3 Go · Affected: All versions | 3.6.17 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-284
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:H/SA:H
References
- https://github.com/traefik/traefik/security/advisories/GHSA-96qj-4jj5-wcjcWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-44774ADVISORY
- https://github.com/traefik/traefikPACKAGE
- https://github.com/traefik/traefik/releases/tag/v2.11.46WEB
- https://github.com/traefik/traefik/releases/tag/v3.6.17WEB
- https://github.com/traefik/traefik/releases/tag/v3.7.1WEB
Frequently Asked Questions
- What is CVE-2026-44774?
- Traefik: Gateway API TraefikService backend accepts rest@internal, allowing unauthorized exposure of the REST provider despite providers.rest.insecure=false. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 9.9/10).
- How do I check if my project is affected by CVE-2026-44774?
- CVE-2026-44774 affects github.com/traefik/traefik/v3, github.com/traefik/traefik/v2 and github.com/traefik/traefik. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-44774 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 39.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-65600CRITICAL
Traefik: Authentication Bypass via Path Traversal in ReplacePathRegex Middleware
- CVE-2026-71324HIGH
Traefik: Cross-user response poisoning via proxied CONNECT on Traefik's shared backend keep-alive pool
- CVE-2026-39858HIGH
Traefik: Pre-authentication decision bypass due to forwarded alias spoofing
- CVE-2026-35051HIGH
Traefik's ForwardAuth trustForwardHeader=false allows spoofed X-Forwarded-Prefix to bypass authentication
- CVE-2026-40912HIGH
Traefik has an StripPrefixRegex Middleware Authorization Bypass via Path/RawPath Desync
- CVE-2025-32431HIGH
Traefik has a possible vulnerability with its path matchers
- CVE-2026-53622HIGH
Traefik: HTTP/3 mTLS bypass via exact SNI TLSOptions lookup for wildcard and mixed-case hosts
- CVE-2026-32305HIGH
Traefik has a Potential mTLS Bypass via Fragmented TLS ClientHello Causing Pre-SNI Sniff Fallback to Default Non-mTLS TLS Config