CVE-2026-54147: http4k `DigestAuthProvider.verify` Ignored Configured Algorithm And Vulnerability
MODERATECVE-2026-54147 is a MODERATE (CVSS 6.5) `digestauthprovider.verify` ignored configured algorithm and vulnerability (CWE-327: Use of a Broken or Risky Cryptographic Algorithm) affecting http4k libraries in the Maven ecosystem. The issue involves `digestauthprovider.verify` ignored configured algorithm and did not bind to request uri. Remediation is available by upgrading affected packages to version 6.50.0.0, 5.42.0.0.
CVE-2026-54147 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N).
How to Fix CVE-2026-54147
To remediate this vulnerability, upgrade all affected http4k dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.http4k</groupId>
<artifactId>http4k-security-digest</artifactId>
<version>6.50.0.0</version>
</dependency>
<dependency>
<groupId>org.http4k</groupId>
<artifactId>http4k-security-digest</artifactId>
<version>5.42.0.0</version>
</dependency>
<dependency>
<groupId>org.http4k</groupId>
<artifactId>http4k-security-digest</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.http4k
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-54147, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.http4k
Analyze the terminal output to locate any version of http4k in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.50.0.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.http4k command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-327: Use of a Broken or Risky Cryptographic Algorithm, where the product uses a broken or risky cryptographic algorithm or protocol. In http4k, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-54147 Affected http4k Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.http4k:http4k-security-digest
|
Maven |
≥ 6.0.0.0
< 6.50.0.0
|
6.50.0.0
|
|
org.http4k:http4k-security-digest
|
Maven |
≥ 5.0.0.0
< 5.42.0.0
|
5.42.0.0
|
|
org.http4k:http4k-security-digest
|
Maven |
≤ 4.48.2.0
|
|
References
Frequently Asked Questions
What is CVE-2026-54147?
Which http4k versions are affected?
What version fixes CVE-2026-54147?
Is http4k-security-digest affected?
What is the CVSS score of CVE-2026-54147?
What CWE is associated with CVE-2026-54147?
How can I check Maven dependencies for CVE-2026-54147?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vxxm-wwqh-mh47",
"modified" : "2026-08-17T21:57:58Z",
"published" : "2026-08-17T21:56:58Z",
"aliases" : [ "CVE-2026-54147" ],
"summary" : "http4k: `DigestAuthProvider.verify` ignored configured algorithm and did not bind to request URI",
"details" : "### Impact\n\nAn issue in `DigestAuthProvider.verify`:\n\n **Algorithm silently forced to MD5.** The configured `algorithm` parameter was ignored — every verification used MD5 regardless of configuration. Deployments believing they were running SHA-256 Digest auth were silently inheriting MD5's collision weaknesses, including documented attack paths against Digest schemes that rely on the hash being collision-resistant.\n\n**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).\n\n### Patches\n\n| Line | Fixed in | Edition |\n|------|----------|---------|\n| v6.x (Community) | **6.50.0.0** | Community |\n| v5.x (LTS) | **5.42.0.0** | Enterprise — contact [enterprise@http4k.org](mailto:enterprise@http4k.org) (if Digest auth is present in your v5.x line) |\n| v4.x (LTS) | **4.51.0.0** | Enterprise — contact [enterprise@http4k.org](mailto:enterprise@http4k.org) (if Digest auth is present in your v4.x line) |\n\nThe fix:\n- Hashes with the configured `algorithm` instead of hardcoded MD5.\n\n### Workarounds\n\nFor deployments that cannot upgrade immediately:\n- **Algorithm gap:** do not rely on `algorithm` configuration; assume MD5 is in use and treat the Digest credentials as low-trust.\n\n### References\n\n- Vulnerability first present: [`8a52b615b1`](https://github.com/http4k/http4k/commit/8a52b615b1)\n- Algorithm fix: [`65d23d99fc`](https://github.com/http4k/http4k/commit/65d23d99fc)\n- Fix release: [v6.50.0.0](https://github.com/http4k/http4k/releases/tag/6.50.0.0)\n- Background: [RFC 7616 — HTTP Digest Access Authentication](https://datatracker.ietf.org/doc/html/rfc7616)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.http4k:http4k-security-digest"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0.0"
}, {
"fixed" : "6.50.0.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.http4k:http4k-security-digest"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0.0"
}, {
"fixed" : "5.42.0.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.http4k:http4k-security-digest"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "4.48.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/http4k/http4k/security/advisories/GHSA-vxxm-wwqh-mh47"
}, {
"type" : "WEB",
"url" : "https://github.com/http4k/http4k/commit/65d23d99fc"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/http4k/http4k"
}, {
"type" : "WEB",
"url" : "https://github.com/http4k/http4k/releases/tag/6.50.0.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-327" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-17T21:56:58Z",
"nvd_published_at" : null
}
}