CVE-2026-54147

http4k: `DigestAuthProvider.verify` ignored configured algorithm and did not bind to request URI

State
Published
Severity
6.5 Medium
Published
Sep 18, 2026
Updated
Sep 18, 2026
Reserved
Jun 11, 2026

Read the record on cve.org

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 ignores its configured algorithm parameter and verifies every Digest response with hardcoded MD5. Deployments configured for SHA-256 therefore receive weaker MD5-based verification, exposing Digest authentication to collision-related attack paths that depend on the hash function's collision resistance. This issue is fixed in versions 4.51.0.0, 5.42.0.0, and 6.50.0.0.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:NGitHub_M

Weaknesses

  • CWE-327 Use of a Broken or Risky Cryptographic Algorithm

Affected Products

ProductVersions
http4khttp4k
  • < 4.51.0.0Affected
  • >= 5.0.0.0, < 5.42.0.0Affected
  • >= 6.0.0.0, < 6.50.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.