CVE-2026-54148: http4k `DigestAuthProvider.verify` Did Not Bind To Vulnerability

HIGH
Advisory Identifier: GHSA-p28p-j94q-pg32
CVSS 8.1
CWE-294
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2026-54148
GHSA Identifier GHSA-p28p-j94q-pg32
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-294: Authentication Bypass by Capture-replay
Affected Product http4k
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (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.

org.http4k:http4k-security-digest fixed: 6.50.0.0
<dependency>
    <groupId>org.http4k</groupId>
    <artifactId>http4k-security-digest</artifactId>
    <version>6.50.0.0</version>
</dependency>
org.http4k:http4k-security-digest fixed: 5.42.0.0
<dependency>
    <groupId>org.http4k</groupId>
    <artifactId>http4k-security-digest</artifactId>
    <version>5.42.0.0</version>
</dependency>
org.http4k:http4k-security-digest fixed: 4.51.0.0
<dependency>
    <groupId>org.http4k</groupId>
    <artifactId>http4k-security-digest</artifactId>
    <version>4.51.0.0</version>
</dependency>
Verify Direct and Transitive Dependencies

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

### 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 | Line | Fixed in | Edition | |------|----------|---------| | v6.x (Community) | **6.50.0.0** | Community | | 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) | | 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) | 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 - Vulnerability first present: [`8a52b615b1`](https://github.com/http4k/http4k/commit/8a52b615b1) - URI binding fix: [`725f1b9697`](https://github.com/http4k/http4k/commit/725f1b9697) - Fix release: [v6.50.0.0](https://github.com/http4k/http4k/releases/tag/6.50.0.0) - Background: [RFC 7616 — HTTP Digest Access Authentication](https://datatracker.ietf.org/doc/html/rfc7616)

CVE-2026-54148 Affected http4k Versions

3 component(s)
Fixed Versions:
6.50.0.05.42.0.04.51.0.0
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?
CVE-2026-54148 is a security vulnerability in http4k involving `DigestAuthProvider.verify` did not bind to request URI under CWE-294: Authentication Bypass by Capture-replay.
Which http4k versions are affected?
Affected versions include releases prior to 6.50.0.0, 5.42.0.0, 4.51.0.0 across affected packages: org.http4k:http4k-security-digest.
What version fixes CVE-2026-54148?
Upgrading to 6.50.0.0, 5.42.0.0, 4.51.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is http4k-security-digest affected?
Yes, org.http4k:http4k-security-digest is affected in releases prior to 6.50.0.0, 5.42.0.0, 4.51.0.0. Upgrade your dependency to 6.50.0.0, 5.42.0.0, 4.51.0.0 or later.
What is the CVSS score of CVE-2026-54148?
CVE-2026-54148 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2026-54148?
CVE-2026-54148 is classified under CWE-294: Authentication Bypass by Capture-replay (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).).
How can I check Maven dependencies for CVE-2026-54148?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.http4k'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}