Medium

http4k: `ServerFilters.DigestAuth` / `DigestAuthProvider` defaulted to an always-true nonce verifier, disabling replay protection in default deployments

  • Disclosed: 19.06.2026
  • Updated: 11.10.2026 13:20

Impact

ServerFilters.DigestAuth and the underlying DigestAuthProvider both defaulted their nonceVerifier parameter to { true } — i.e. every nonce was accepted regardless of value, age, or prior use. Any deployment using the default configuration had no replay protection on Digest authentication; a captured Authorization: Digest … response could be replayed indefinitely against the same protected resource.

The nonce-verification mechanism in Digest auth is the primary anti-replay control — without it, Digest reduces to a credential bound only to a stale nonce string.

Who is affected: any application using ServerFilters.DigestAuth or DigestAuthProvider with the default nonceVerifier. The broken default has been present since DigestAuthProvider was introduced (2021). Exploitation requires the attacker to first capture a valid Digest response (network observation, log access, etc.) — non-trivial in modern TLS deployments but not impossible. Anyone running Digest auth with default config should treat upgrade as urgent.

Patches

Line Fixed in Edition
v6.x (Community) 6.48.0.0 Community
v5.x (LTS) 5.42.0.0 Enterprise — contact enterprise@http4k.org (if Digest auth is present in your v5.x line)
v4.x (LTS) 4.51.0.0 Enterprise — contact enterprise@http4k.org (if Digest auth is present in your v4.x line)

The fix ([Break]) removes the default value for nonceVerifier from both ServerFilters.DigestAuth and DigestAuthProvider. Callers must now supply a real verifier explicitly — the broken default cannot be silently inherited.

Workarounds

For deployments that cannot upgrade immediately: explicitly supply a nonceVerifier that tracks issued nonces, enforces a TTL, and rejects re-use. Do not rely on the default.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.http4k:http4k-security-digest >= 6.0.0.0, < 6.48.0.0, >= 5.0.0.0, < 5.42.0.0, < 4.51.0.0 6.48.0.0, 5.42.0.0, 4.51.0.0

References

CVSS score -
Weakness (CWE)
CWE-294
Platform
Java / Kotlin (Maven)
Package
org.http4k:http4k-security-digest
Disclosed
19.06.2026
Updated
11.10.2026 13:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-c7jm-38gq-h67h - CC BY 4.0

Vulnerability history: org.http4k:http4k-security-digest

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
06.2026 08.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 1
  • Medium 2

Disclosures per year

  1. 2026: 3
  1. High · 8.1 CVE-2026-54148 >= 6.0.0.0, < 6.50.0.0, >= 5.0.0.0, < 5.42.0.0, >= 4.0.0.0, < 4.51.0.0 6.50.0.0, 5.42.0.0, 4.51.0.0
  2. Medium · 6.5 CVE-2026-54147 >= 6.0.0.0, < 6.50.0.0, >= 5.0.0.0, < 5.42.0.0, <= 4.48.2.0 6.50.0.0, 5.42.0.0
  3. http4k: `ServerFilters.DigestAuth` / `DigestAuthProvider` defaulted to an always-true nonce verifier, disabling replay protection in default deployments this entry
    Medium CVE-2026-100834 >= 6.0.0.0, < 6.48.0.0, >= 5.0.0.0, < 5.42.0.0, < 4.51.0.0 6.48.0.0, 5.42.0.0, 4.51.0.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.