CVE-2026-54148
JSON

8.1high

http4k: `DigestAuthProvider.verify` did not bind to request URI

Severity
8.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.33% (higher than 27% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-p28p-j94q-pg32

Description

http4k is a functional toolkit for Kotlin HTTP applications. Prior to 4.51.0.0, 5.42.0.0, and 6.50.0.0, DigestAuthProvider.verify in http4k-security-digest does not compare the uri parameter in an Authorization: Digest response with the actual request URL. An attacker who captures a valid Digest authentication response can replay it against another URL served by the same realm, bypassing the per-request-URI binding and potentially gaining unauthorized read or write access. This issue is fixed in versions 4.51.0.0, 5.42.0.0, and 6.50.0.0.

Affected

Product or packageVersionsReported by
http4k http4k< 4.51.0.0, >= 5.0.0.0, < 5.42.0.0, >= 6.0.0.0, < 6.50.0.0CVE List
org.http4k:http4k-security-digest (Maven)from 6.0.0.0 before 6.50.0.0, from 5.0.0.0 before 5.42.0.0, from 4.0.0.0 before 4.51.0.0GitHub Advisory Database

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Classification

CWE-294

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

http4k is a functional toolkit for Kotlin HTTP applications. Prior to 4.51.0.0, 5.42.0.0, and 6.50.0.0, DigestAuthProvider.verify in http4k-security-digest does not compare the uri parameter in an Authorization: Digest response with the actual request URL. An attacker who captures a valid Digest authentication response can replay it against another URL served by the same realm, bypassing the per-request-URI binding and potentially gaining unauthorized read or write access. This issue is fixed in versions 4.51.0.0, 5.42.0.0, and 6.50.0.0.

GitHub Advisory Database
Impact

An issue in DigestAuthProvider.verify:

The uri parameter in the client's Authorization: Digest … response was not checked against the actual request URL. A captured Digest authentication response could be replayed against any other URL served by the same realm, breaking the per-request-URL binding the Digest scheme assumes.

Who is affected: any application using http4k-security-digest for HTTP Digest authentication. The bug has been present since DigestAuthProvider was introduced (commit 8a52b615b1, 2021).

Patches
LineFixed inEdition
v6.x (Community)6.50.0.0Community
v5.x (LTS)5.42.0.0Enterprise — contact enterprise@http4k.org (if Digest auth is present in your v5.x line)
v4.x (LTS)4.51.0.0Enterprise — contact enterprise@http4k.org (if Digest auth is present in your v4.x line)

The fix:

  • Rejects credentials whose uri parameter does not match the request URL.
Workarounds

For deployments that cannot upgrade immediately:

  • URI binding gap: place Digest auth behind a reverse proxy that pins requests to a single URL.
References

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54148 changed 2026-09-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-p28p-j94q-pg32 changed 2026-09-24CC-BY-4.0
NVDCVE-2026-54148 changed 2026-09-24Public domain