CVE-2026-54148: http4k `DigestAuthProvider.verify` Did Not Bind To Vulnerability
HIGHCVE-2026-54148 is a HIGH (CVSS 8.1) `digestauthprovider.verify` did not bind to vulnerability (CWE-294: Authentication Bypass by Capture-replay) affecting http4k libraries in the Maven ecosystem. The issue involves `digestauthprovider.verify` did not bind to request uri. Remediation is available by upgrading affected packages to version 6.50.0.0, 5.42.0.0, 4.51.0.0.
CVE-2026-54148 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N).
How to Fix CVE-2026-54148
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>4.51.0.0</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-54148, 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-294: Authentication Bypass by Capture-replay, where a capture-replay flaw exists when the design of the product makes it possible for a malicious user to sniff network traffic and bypass authentication by replaying it to the server in question to the same effect as the original message (or with minor changes). 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-54148 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.0.0.0
< 4.51.0.0
|
4.51.0.0
|
References
Frequently Asked Questions
What is CVE-2026-54148?
Which http4k versions are affected?
What version fixes CVE-2026-54148?
Is http4k-security-digest affected?
What is the CVSS score of CVE-2026-54148?
What CWE is associated with CVE-2026-54148?
How can I check Maven dependencies for CVE-2026-54148?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p28p-j94q-pg32",
"modified" : "2026-09-24T14:47:12Z",
"published" : "2026-08-17T21:57:41Z",
"aliases" : [ "CVE-2026-54148" ],
"summary" : "http4k: `DigestAuthProvider.verify` did not bind to request URI",
"details" : "### Impact\n\nAn issue in `DigestAuthProvider.verify`:\n\nThe `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.\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- Rejects credentials whose `uri` parameter does not match the request URL.\n\n### Workarounds\n\nFor deployments that cannot upgrade immediately:\n- **URI binding gap:** place Digest auth behind a reverse proxy that pins requests to a single URL.\n\n### References\n\n- Vulnerability first present: [`8a52b615b1`](https://github.com/http4k/http4k/commit/8a52b615b1)\n- URI binding fix: [`725f1b9697`](https://github.com/http4k/http4k/commit/725f1b9697)\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:L/PR:N/UI:R/S:U/C:H/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" : "4.0.0.0"
}, {
"fixed" : "4.51.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/http4k/http4k/security/advisories/GHSA-p28p-j94q-pg32"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-54148"
}, {
"type" : "WEB",
"url" : "https://github.com/github/advisory-database/pull/9477"
}, {
"type" : "WEB",
"url" : "https://github.com/http4k/http4k/commit/725f1b9697"
}, {
"type" : "WEB",
"url" : "https://github.com/http4k/http4k/commit/725f1b96978dd433348e2b149c1e72b9f5147c90"
}, {
"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-294" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-17T21:57:41Z",
"nvd_published_at" : "2026-09-18T16:17:06Z"
}
}