Skip to content
CVE-2026-85596 Microsoft Sentinel · KQL

Detect Traefik Kubernetes Ingress NGINX TLS Option Authentication Bypass (CVE-2026-85596) in Microsoft Sentinel

Detects exploitation and exposure of CVE-2026-85596, an authentication bypass in Traefik's Kubernetes Ingress NGINX provider affecting versions >= v3.7.0 and < v3.7.11 (CVSS 8.2, CWE-287). A conflicting TLS option generated for an Ingress can cause Traefik to fall back to the default TLS configuration and serve requests without enforcing the intended client-certificate authentication, allowing an attacker to reach protected backends unauthenticated. Detection focuses on vulnerable Traefik versions in the environment, anomalous Ingress TLS-option annotations, and requests reaching mTLS-protected routers without a presented client certificate.

Based on Traefik GHSA-j994-9gqj-9hwq / VulnCheck advisory

MITRE ATT&CK

Tactic
Initial Access Stealth

KQL Detection Query

Microsoft Sentinel (KQL)
kusto
// df00tech DF00-5f8da4300e · https://df00tech.com/detections/CVE-2026-85596 · licence: https://df00tech.com/detections/licence
let vulnerable = dynamic(["3.7.0","3.7.1","3.7.2","3.7.3","3.7.4","3.7.5","3.7.6","3.7.7","3.7.8","3.7.9","3.7.10"]);
ContainerInventory
| where Image has "traefik" or Name has "traefik"
| extend TraefikVersion = extract(@"traefik:v?([0-9]+\.[0-9]+\.[0-9]+)", 1, ImageTag)
| where isnotempty(TraefikVersion)
| where TraefikVersion in (vulnerable)
| project TimeGenerated, Computer, ContainerID=ContainerID, Name, Image, ImageTag, TraefikVersion
| join kind=leftouter (
    ContainerLog
    | where LogEntry has_any ("tls", "ingress", "certificate")
    | where LogEntry has_any ("client certificate", "no certificate", "ClientAuth", "tlsOption")
    | project TimeGenerated, ContainerID, LogEntry
) on ContainerID
| summarize LogSamples=make_list(LogEntry, 5), Entries=count() by Computer, Name, TraefikVersion
| extend Finding="Vulnerable Traefik (CVE-2026-85596) running Kubernetes Ingress NGINX provider"
high severity medium confidence

Identifies running Traefik containers whose image tag maps to a vulnerable version (3.7.0-3.7.10) and correlates with proxy logs mentioning TLS/client-certificate handling, surfacing hosts exposed to the Ingress NGINX TLS-option authentication bypass.

Data Sources

Container InventoryContainer LogsKubernetes

Required Tables

ContainerInventoryContainerLog

False Positives & Tuning

  • Vulnerable Traefik version present but the Kubernetes Ingress NGINX provider is not enabled, so the bypass is not reachable.
  • Pre-production or lab clusters intentionally running an older Traefik build for regression testing.
  • Image tag parsing misattributes a version due to custom/rewritten tags in an internal registry.

Other platforms for CVE-2026-85596


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.

  1. Test 1 Deploy vulnerable Traefik version in lab cluster

    Expected signal: Container inventory records an image tag traefik:v3.7.10 with the kubernetesIngress provider enabled.

  2. Test 2 Simulate conflicting Ingress TLS option

    Expected signal: Traefik debug logs reference the TLS option / tlsOption for the Ingress and router configuration generation.

  3. Test 3 Unauthenticated request to mTLS-protected route

    Expected signal: Traefik access log records a request to /admin with no client certificate presented, and a 2xx/3xx response instead of a TLS handshake rejection.


Response Playbook

Triage

  1. Confirm the affected Traefik instance's exact version from the image tag or `traefik version` output and verify it falls in >= 3.7.0 and < 3.7.11.
  2. Determine whether the Kubernetes Ingress NGINX provider is enabled; if it is not, the bypass is not reachable and severity can be downgraded.
  3. Enumerate Ingress resources and their TLS-related annotations/options to identify any conflicting TLS option that would generate the vulnerable configuration.
  4. Review access logs for mTLS-protected routers to find successful requests that presented no valid client certificate.

Containment

  1. Upgrade Traefik to v3.7.11 or later across all affected clusters.
  2. As an interim mitigation, enforce client-certificate verification at a layer outside Traefik and restrict access to protected backends.
  3. Temporarily disable or reconfigure the Ingress resources with conflicting TLS options until patched.

Evidence Collection

  1. Capture the running Traefik image digest, version, and full static/dynamic configuration (TLS options and routers).
  2. Export proxy access logs covering the exposure window, including client-certificate presence and source IPs reaching protected routes.
  3. Snapshot the affected Ingress manifests and their TLS annotations for forensic comparison.

Escalation Criteria

  • !Evidence of unauthenticated requests reaching a backend that should require mTLS, indicating active exploitation.
  • !Access to sensitive internal services or data via the bypassed route, or indicators of lateral movement beyond the ingress.

Investigation Guide

Forensic Artifacts

  • >Traefik static and dynamic configuration showing conflicting TLS options per Ingress.
  • >Proxy access logs recording requests to mTLS routers without a presented client certificate.
  • >Kubernetes Ingress resource manifests and annotations in the API server audit log.

Tuning Guidance

Maintain an allowlist of routers that intentionally do not require client certificates to suppress benign 'no client certificate' matches. Scope keyword matching to proxy access/application log sourcetypes rather than all container stdout, and refine the version regex if your registry rewrites image tags. Once all clusters are confirmed on v3.7.11+, convert these rules to inventory-only hunts to reduce noise.


Hunting Queries

Inventory hunt for all Traefik instances on vulnerable 3.7.0-3.7.10 builds across the fleet.

Hunting — KQL
kql
// df00tech DF00-5f8da4300e · https://df00tech.com/detections/CVE-2026-85596 · licence: https://df00tech.com/detections/licence
ContainerInventory | extend v=extract(@"traefik:v?([0-9]+\.[0-9]+\.[0-9]+)",1,ImageTag) | where v startswith "3.7." and toint(extract(@"3\.7\.([0-9]+)",1,v)) < 11 | project Computer, Name, ImageTag, v
Hunting — SPL
spl
``` df00tech DF00-5f8da4300e · https://df00tech.com/detections/CVE-2026-85596 · licence: https://df00tech.com/detections/licence ```
index=kubernetes sourcetype="kube:container:inventory" image=*traefik* | rex field=image "traefik:v?(?<v>\d+\.\d+\.\d+)" | search v="3.7.*" | where v!="3.7.11" | table host pod image v

Atomic Red Team Tests

Test 1 Deploy vulnerable Traefik version in lab cluster
linux

Runs a Traefik v3.7.10 container with the Kubernetes Ingress provider to reproduce the vulnerable configuration for detection validation.

Command

bash
docker run -d --name traefik-vuln-85596 traefik:v3.7.10 --providers.kubernetesIngress=true --log.level=DEBUG

Cleanup

bash
docker rm -f traefik-vuln-85596

Expected Telemetry

Container inventory records an image tag traefik:v3.7.10 with the kubernetesIngress provider enabled.

Expected Detection

The KQL/SPL/CQL inventory logic flags the host as running a vulnerable Traefik version (CVE-2026-85596).

Test 2 Simulate conflicting Ingress TLS option
linux

Applies an Ingress manifest with a conflicting TLS option annotation that triggers generation of the vulnerable TLS configuration.

Command

bash
kubectl apply -f - <<'EOF'
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: vuln-85596
  annotations:
    traefik.ingress.kubernetes.io/router.tls.options: "conflict-opt@kubernetescrd"
spec:
  ingressClassName: traefik
  tls:
  - hosts: ["app.lab.local"]
    secretName: app-tls
  rules:
  - host: app.lab.local
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: app
            port:
              number: 80
EOF

Cleanup

bash
kubectl delete ingress vuln-85596 --ignore-not-found

Expected Telemetry

Traefik debug logs reference the TLS option / tlsOption for the Ingress and router configuration generation.

Expected Detection

Log-based rules match tlsOption/ClientAuth keywords on the vulnerable Traefik host.

Test 3 Unauthenticated request to mTLS-protected route
linux

Sends an HTTPS request without a client certificate to a route that should require mTLS, exercising the bypass condition.

Command

bash
curl -sk https://app.lab.local/admin -H 'Host: app.lab.local' -o /dev/null -w '%{http_code}\n'

Cleanup

bash
echo 'no cleanup required'

Expected Telemetry

Traefik access log records a request to /admin with no client certificate presented, and a 2xx/3xx response instead of a TLS handshake rejection.

Expected Detection

The Elastic EQL / QRadar / Chronicle rules flag a TLS request to a sensitive path with no client certificate on a mTLS router.

Related Detections