Skip to content
CVE-2026-85595 Splunk · SPL

Detect Traefik digestAuth Middleware Authentication Bypass (CVE-2026-85595) in Splunk

Detects exploitation and exposure of CVE-2026-85595, an authentication bypass in Traefik's digestAuth middleware. In affected versions (Traefik < 2.11.55 and 3.0.0 <= v < 3.7.11), unknown usernames presented in a Digest Authentication 'Authorization' header are mishandled, allowing an attacker to bypass authentication on routes protected by the digestAuth middleware. CVSS 9.3 (CWE-287). This detection surfaces anomalous Digest-auth requests reaching protected backends, successful access following previously-failed digest challenges, and reconnaissance against Traefik-fronted services, as well as the presence of vulnerable Traefik versions in the environment.

Based on Traefik GHSA-5w68-77r2-r64c digestAuth authentication bypass advisory

MITRE ATT&CK

Tactic
Initial Access Privilege Escalation

SPL Detection Query

Splunk (SPL)
spl
``` df00tech DF00-0d1245382c · https://df00tech.com/detections/CVE-2026-85595 · licence: https://df00tech.com/detections/licence ```
index=proxy sourcetype=traefik:access (request_Authorization="Digest *" OR authorization="Digest *")
| eval auth=coalesce(request_Authorization, authorization)
| rex field=auth "username=\"?(?<digest_user>[^\",]+)\"?"
| rex field=auth "nonce=\"?(?<digest_nonce>[^\",]*)\"?"
| search (RouterName="*digest*" OR RouterName="*auth*" OR middleware_name="*digestAuth*")
| where DownstreamStatus < 400 AND isnotnull(digest_user)
| eval suspicious_handshake=if(digest_nonce="" OR isnull(digest_nonce), 1, 0)
| stats count AS requests dc(digest_nonce) AS distinct_nonces values(digest_user) AS users values(RequestPath) AS uris by ClientHost RouterName
| where requests > 1
| sort - requests
high severity medium confidence

Splunk equivalent: surfaces successful digest-authenticated access to Traefik-protected routes with missing or anomalous nonce handshakes, indicative of the digestAuth unknown-username bypass.

Data Sources

Traefik Access LogsReverse Proxy Logs

Required Sourcetypes

traefik:access

False Positives & Tuning

  • Clients reusing cached valid digest credentials
  • Monitoring probes replaying stored Authorization headers
  • Scheduled internal automation authenticating via digest

Other platforms for CVE-2026-85595


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 Digest auth request with unknown username against Traefik route

    Expected signal: A Traefik access-log entry with a Digest Authorization header, username=nonexistent_bypass_user, on the digestAuth-protected router.

  2. Test 2 Digest challenge handshake skip

    Expected signal: Multiple Traefik access-log entries from one source carrying Digest headers with empty nonces across several usernames.

  3. Test 3 Traefik vulnerable version fingerprint

    Expected signal: An HTTP request to the Traefik dashboard /api/version endpoint and a JSON response containing the version string.


Response Playbook

Triage

  1. Confirm the Traefik version fronting the affected route via the dashboard/API (`/api/version`) or deployment manifest; versions < 2.11.55 or 3.0.0 <= v < 3.7.11 are vulnerable.
  2. Inspect the flagged access-log entries: extract the Digest 'username' value and verify whether it maps to a real, provisioned account for that realm. Unknown/nonexistent usernames that still receive a <400 response indicate a successful bypass.
  3. Review whether the matched requests carried a valid nonce obtained from a prior 401 WWW-Authenticate challenge, or skipped the challenge handshake entirely.
  4. Determine which backend route/service sits behind the digestAuth middleware and assess the sensitivity of data or functions exposed.

Containment

  1. Immediately upgrade Traefik to 2.11.55 or 3.7.11 (or later) on all affected instances.
  2. As an interim mitigation, replace digestAuth middleware with basicAuth over TLS, forwardAuth to an external IdP, or restrict the protected route by source IP / mTLS until patched.
  3. Rotate any credentials or session tokens that may have been exposed through the bypassed route.

Evidence Collection

  1. Preserve raw Traefik access logs (including full Authorization headers) and any application logs from the protected backend for the exposure window.
  2. Capture the Traefik static and dynamic configuration (middleware definitions, router-to-middleware bindings) and the running version/build hash.

Escalation Criteria

  • !Escalate to incident response if an unknown or unprovisioned digest username received a successful (<400) response on a route protected by digestAuth.
  • !Escalate if backend application logs show data access, state changes, or privileged actions correlated with the bypassed requests.

Investigation Guide

Forensic Artifacts

  • >Traefik access logs containing Digest Authorization headers with unknown usernames and <400 downstream status codes
  • >Traefik dynamic configuration showing digestAuth middleware bindings and the running binary version
  • >Backend application logs showing sessions/actions that lack a corresponding legitimate authentication event

Tuning Guidance

Build an allowlist of legitimate digest usernames and realms for each protected route, then invert the detection to alert only on usernames outside that allowlist. Exclude known monitoring/health-check source IPs. If your Traefik access logs do not capture request headers by default, enable header logging (accesslog.fields.headers) scoped to the Authorization header so the detection has the fields it needs. Adjust the Requests>1 threshold based on baseline digest-auth volume for the route.


Hunting Queries

Enumerates all Digest usernames seen per client and how many produced successful (<400) backend access, to spot unknown-username bypass attempts.

Hunting — KQL
kql
// df00tech DF00-0d1245382c · https://df00tech.com/detections/CVE-2026-85595 · licence: https://df00tech.com/detections/licence
TraefikAccessLogs_CL | where RequestHeaders_Authorization_s startswith "Digest " | extend DigestUser = extract(@'username="?([^",]+)"?', 1, RequestHeaders_Authorization_s) | summarize Requests=count(), SuccessfulAccess=countif(toint(DownstreamStatus_d) < 400) by DigestUser, ClientHost_s | where SuccessfulAccess > 0 | order by Requests desc
Hunting — SPL
spl
``` df00tech DF00-0d1245382c · https://df00tech.com/detections/CVE-2026-85595 · licence: https://df00tech.com/detections/licence ```
index=proxy sourcetype=traefik:access "Digest " | rex field=_raw "username=\"?(?<digest_user>[^\",]+)\"?" | stats count AS requests count(eval(DownstreamStatus<400)) AS successes by digest_user ClientHost | where successes > 0 | sort - requests

Atomic Red Team Tests

Test 1 Digest auth request with unknown username against Traefik route
linux

Sends a Digest Authorization header with a non-existent username to a Traefik route protected by digestAuth middleware, simulating the bypass attempt.

Command

bash
curl -s -o /dev/null -w '%{http_code}\n' -H 'Authorization: Digest username="nonexistent_bypass_user", realm="traefik", nonce="", uri="/protected", response="00000000000000000000000000000000"' http://traefik.lab.local/protected

Cleanup

bash
echo 'No cleanup required; no state is modified by the request.'

Expected Telemetry

A Traefik access-log entry with a Digest Authorization header, username=nonexistent_bypass_user, on the digestAuth-protected router.

Expected Detection

The detection fires when the unknown-username digest request returns a <400 status on a vulnerable instance (bypass succeeded); on a patched instance the request returns 401 and no alert fires.

Test 2 Digest challenge handshake skip
linux

Issues a digest-authenticated request without first obtaining a WWW-Authenticate nonce challenge, replaying an empty/forged nonce.

Command

bash
for u in admin test svc_unknown; do curl -s -o /dev/null -w "$u %{http_code}\n" -H "Authorization: Digest username=\"$u\", realm=\"traefik\", nonce=\"\", uri=\"/admin\", response=\"deadbeefdeadbeefdeadbeefdeadbeef\"" http://traefik.lab.local/admin; done

Cleanup

bash
echo 'No cleanup required.'

Expected Telemetry

Multiple Traefik access-log entries from one source carrying Digest headers with empty nonces across several usernames.

Expected Detection

The detection's missing-nonce handshake and repeated-request logic flags the source IP.

Test 3 Traefik vulnerable version fingerprint
linux

Queries the Traefik API to record the running version and confirm whether it falls in the vulnerable range.

Command

bash
curl -s http://traefik.lab.local:8080/api/version | tee /tmp/traefik_version.json

Cleanup

bash
rm -f /tmp/traefik_version.json

Expected Telemetry

An HTTP request to the Traefik dashboard /api/version endpoint and a JSON response containing the version string.

Expected Detection

Version-inventory correlation flags the host if the reported version is < 2.11.55 or in the 3.0.0-3.7.10 range.

Related Detections