Advisory record · GHSA-m4w9-hjfw-vwj4

http4k: `HmacSha256.hash` (despite the `Hmac` naming) computed a plain unkeyed digest; clarified by deprecation in favour of `Sha256.hash` / `Sha256.hmac`

CVSS 4.0, no score published

Published by the GitHub Advisory Database at 19 Jun 2026, 21:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.http4k:http4k-coreMaven<6.49.0.06.49.0.0
Identifiers
GHSA-m4w9-hjfw-vwj4
Weakness (CWE)
CWE-345
Published
19 Jun 2026
Updated
19 Jun 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of http4k-core before 6.49.0.0 include a function, HmacSha256.hash, that computes a plain unkeyed SHA-256 digest despite the class name suggesting HMAC. The source describes this as a misleading name rather than an exploitable flaw, and says no http4k internal code misuses it; a caller would have to use it as a message authentication code, which the lack of a key parameter makes unlikely. Upgrade to http4k-core 6.49.0.0 or later, where Sha256.hash and Sha256.hmac are provided and HmacSha256 is deprecated.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
Not published None 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 14:20 UTC First seen by agentprime
  2. 31 Oct 2026, 14:20 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.