Skip to main content

Traefik CVE-2026-44774

| EUVDEUVD-2026-30566 MEDIUM
Improper Access Control (CWE-284)
2026-05-13 https://github.com/traefik/traefik GHSA-96qj-4jj5-wcjc
Medium
Disputed · 6.4 Vendor: https://github.com/traefik/traefik
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain HTTPRoute RBAC rights in tenant namespace
  2. Delivery
    Create HTTPRoute manifest targeting rest@internal TraefikService backend
  3. Exploit
    Attach HTTPRoute to shared infrastructure Gateway
  4. Install
    Traefik resolves rest@internal and serves REST handler at tenant hostname
  5. C2
    Send PUT /api/providers/rest with malicious dynamic config body
  6. Execute
    Traefik applies injected router/service definitions
  7. Impact
    Reroute or intercept other tenants' cluster traffic

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

All four of the following conditions must be simultaneously true for exploitation to be possible: (1) The Kubernetes Gateway API provider is explicitly enabled in Traefik's static configuration (providers.kubernetesGateway set) - this is not a default; (2) The REST provider is explicitly enabled (providers.rest=true in static config) - also non-default; (3) The deployment is a shared Gateway where the infrastructure team allows tenant namespaces to attach HTTPRoute resources to a common Gateway object; (4) The attacker holds Kubernetes RBAC rights to create or update HTTPRoute resources in a namespace that the Gateway's allowedRoutes policy permits. Critically, the providers.rest.insecure=false setting does NOT prevent exploitation - bypassing this setting is the vulnerability itself. Exploitation is not possible against single-tenant Traefik deployments, any deployment where providers.rest is absent, or environments where allowedRoutes restricts all tenant namespace attachment. Because HTTPRoute creation requires Kubernetes authentication, CVSS PR:L applies - fully unauthenticated exploitation is not possible.

Impact

The CVSS 4.0 score of 6.4 with vector AV:N/AC:L/AT:N/PR:L/UI:N/SC:L/SI:H/SA:H accurately reflects the conditional but serious nature of this flaw. The network attack vector and low complexity mean no technical skill barrier once prerequisites are met; the low-privilege requirement (PR:L) confirms a Kubernetes RBAC credential is necessary. Impact scores on the vulnerable system itself are zero (VC:N/VI:N/VA:N), but downstream systems score HIGH for integrity and availability (SI:H/SA:H), consistent with the ability to rewrite all Traefik routing configuration. EPSS at 0.01% (1st percentile) and SSVC exploitation status of 'none' indicate no observed active exploitation at time of analysis - risk is theoretical but well-documented. The SSVC 'automatable: yes' finding is significant: once a tenant has the required RBAC permissions, exploitation is scriptable with a single HTTPRoute manifest and one HTTP PUT request. Risk is HIGH for multi-tenant shared Gateway deployments running both providers.kubernetesGateway and providers.rest, and effectively ZERO for any deployment where either provider is absent. No conflict between CVSS signals and description text was identified; both consistently indicate a network-reachable, low-privilege, non-default-configuration attack.

Exploit ScenarioDerived

A developer with standard tenant RBAC permissions creates an HTTPRoute manifest in their namespace that declares rest@internal (a Traefik TraefikService) as the backend for all traffic, attaching it to the shared infrastructure Gateway. Because Traefik's Gateway provider accepts any @internal suffixed service name, the route is accepted and the REST configuration API is published at the tenant's hostname. The developer then sends a PUT /api/providers/rest request through that published route with a crafted JSON body that adds new routers, redirecting a victim tenant's traffic to an attacker-controlled external service. A complete proof-of-concept for this exact sequence is published in GHSA-96qj-4jj5-wcjc.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

Unauthorized write access to Traefik's live dynamic configuration is achievable by a low-privileged Kubernetes tenant in shared Gateway deployments, because the Gateway API provider's isInternalService() check accepts any TraefikService name ending in @internal - not exclusively the intended api@internal. This allows a tenant with HTTPRoute creation rights to route external traffic to rest@internal, fully bypassing the providers.rest.insecure=false safeguard and gaining PUT /api/providers/rest write access. No active exploitation is confirmed (not in CISA KEV, EPSS at 0.01%), but a detailed proof-of-concept is published in the GHSA advisory and the SSVC framework marks the attack as automatable for tenants meeting the prerequisites.

RemediationAI

Upgrade to vendor-released patched versions: Traefik v2.11.46 (https://github.com/traefik/traefik/releases/tag/v2.11.46), v3.6.17 (https://github.com/traefik/traefik/releases/tag/v3.6.17), or v3.7.1 (https://github.com/traefik/traefik/releases/tag/v3.7.1). Before upgrading v2.x deployments, review the migration guide at https://doc.traefik.io/traefik/v2.11/migration/v2/#v21146 as it accompanies v2.11.46. If immediate patching is not feasible, the most effective compensating control is disabling the REST provider entirely by removing providers.rest from the static configuration; this eliminates the exploitable handler but also removes live dynamic configuration reload capability, which may require a process restart for any config changes. As a secondary control, restrict which namespaces can attach HTTPRoute resources to shared Gateways using Kubernetes RBAC policies and Gateway allowedRoutes configuration - this reduces the attacker pool but does NOT eliminate the vulnerability for authorized tenants. Operators on the v1.x branch have no vendor-supplied fix and should migrate to a supported release line or completely isolate Traefik from multi-tenant Gateway usage.

Affected VersionsENISA

traefik 3.0.0-beta1, < 3.6.17
traefik < 2.11.46
traefik 3.7.0-rc.0, < 3.7.1

Affected Packages

go github.com/traefik/traefik no fix
go github.com/traefik/traefik/v2 fix: 2.11.46
go github.com/traefik/traefik/v3 fix: 3.6.17, 3.7.1
euvd traefik fix: 2.11.46
euvd traefik_3_0_0_beta1 fix: 3.6.17
euvd traefik_3_7_0_rc_0 fix: 3.7.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 6 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Traefik (Go packages pkg:go/github.com_traefik_traefik_v2 and pkg:go/github.com_traefik_traefik_v3) contains a logic flaw in its Kubernetes Gateway API provider. In pkg/provider/kubernetes/gateway/kubernetes.go, the function isInternalService() matches any TraefikService reference whose name ends with the string @internal, rather than validating against an explicit allowlist. The httproute.go file then assigns that service name directly to a router (router.Service = string(routeRule.BackendRefs[0].Name)) without further authorization checks. Separately, pkg/server/service/managerfactory.go registers a restHandler whenever providers.rest is enabled, and this handler accepts PUT /api/providers/rest to apply live dynamic configuration. The providers.rest.insecure=false flag - implemented in pkg/provider/traefik/internal.go - only controls whether Traefik's own built-in internal router exposes rest@internal; it does not disable the handler itself or block other providers from resolving and serving it. The root cause is CWE-284 (Improper Access Control): the trust boundary between tenant-controlled route definitions and privileged internal service handlers is enforced by a substring match rather than an explicit named allowlist.

Know when Kubernetes gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Medium–Critical)
Vendor (https://github.com/traefik/traefik) PRIMARY 6.4 MEDIUM
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
SUSE 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Red Hat 8.3 HIGH

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: https://github.com/traefik/traefik

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

1
CVSS changed
May 15, 2026 - 17:22 NVD
6.4 (MEDIUM)

DescriptionCVE.org

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.

<details> <summary>Original Description</summary>

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:

  1. the Gateway route-building path accepts rest@internal as an internal backend through the same special-case branch used for api@internal
  2. the service layer builds and serves rest@internal successfully when providers.rest is enabled and providers.rest.insecure=false

The vulnerable code path is present in:

  • v3.0.0
  • v3.6.7
  • v2.11.0
  • v2.11.36
  • current master at 786f7192e11878dfaa634f8263bf79bb730a71cb

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 HTTPRoute resources.
  • The attacker can create or update HTTPRoute resources in an allowed tenant namespace.

PoC

  1. 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:

yaml
providers:
  kubernetesGateway: {}
  rest:
    insecure: false
  1. Ensure a shared Gateway allows tenant HTTPRoute attachment.
  2. In an allowed tenant namespace, create an HTTPRoute whose backend points to rest@internal:
yaml
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
  1. Send a PUT request through that published route to /api/providers/rest with a valid dynamic configuration body. A harmless proof can add a dummy router pointing to noop@internal.

Example request body:

json
{
  "http": {
    "routers": {
      "probe": {
        "rule": "PathPrefix(`/probe`)",
        "service": "noop@internal",
        "ruleSyntax": "default"
      }
    }
  }
}
  1. 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.rest must be enabled
  • the attacker must be allowed to attach HTTPRoute resources to a shared Gateway

</details>

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2025-1974 CRITICAL POC
9.8 Mar 25

A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access

CVE-2026-45321 CRITICAL POC
9.6 May 12

Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio

CVE-2025-1098 HIGH POC
8.8 Mar 25

Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress

CVE-2025-24514 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres

CVE-2025-1097 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c

CVE-2020-8554 MEDIUM POC
6.3 Jan 21

Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter

CVE-2023-3676 HIGH POC
8.8 Oct 31

A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate

CVE-2025-55190 CRITICAL POC
9.9 Sep 04

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne

CVE-2026-34976 CRITICAL POC
10.0 Apr 02

Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4

CVE-2026-54680 CRITICAL POC
9.9 Jul 29

Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can

CVE-2025-64709 CRITICAL POC
9.9 Nov 13

Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy