CVE-2026-54147: http4k `DigestAuthProvider.verify` Ignored Configured Algorithm And Vulnerability

MODERATE
Advisory Identifier: GHSA-vxxm-wwqh-mh47
CVSS 6.5
CWE-327
Published
Advisory Summary

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

CVE Identifier CVE-2026-54147
GHSA Identifier GHSA-vxxm-wwqh-mh47
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-327: Use of a Broken or Risky Cryptographic Algorithm
Affected Product http4k
Package Ecosystem Maven
Published Date
Last Updated

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

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

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: Latest secure release
<dependency>
    <groupId>org.http4k</groupId>
    <artifactId>http4k-security-digest</artifactId>
    <version>Latest secure release</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-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

### Impact An issue in `DigestAuthProvider.verify`: **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. **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: - Hashes with the configured `algorithm` instead of hardcoded MD5. ### Workarounds For deployments that cannot upgrade immediately: - **Algorithm gap:** do not rely on `algorithm` configuration; assume MD5 is in use and treat the Digest credentials as low-trust. ### References - Vulnerability first present: [`8a52b615b1`](https://github.com/http4k/http4k/commit/8a52b615b1) - Algorithm fix: [`65d23d99fc`](https://github.com/http4k/http4k/commit/65d23d99fc) - 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-54147 Affected http4k Versions

3 component(s)
Fixed Versions:
6.50.0.05.42.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.48.2.0

References

Frequently Asked Questions

What is CVE-2026-54147?
CVE-2026-54147 is a security vulnerability in http4k involving `DigestAuthProvider.verify` ignored configured algorithm and did not bind to request URI under CWE-327: Use of a Broken or Risky Cryptographic Algorithm.
Which http4k versions are affected?
Affected versions include releases prior to 6.50.0.0, 5.42.0.0 across affected packages: org.http4k:http4k-security-digest.
What version fixes CVE-2026-54147?
Upgrading to 6.50.0.0, 5.42.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, Latest secure release. Upgrade your dependency to 6.50.0.0, 5.42.0.0, Latest secure release or later.
What is the CVSS score of CVE-2026-54147?
CVE-2026-54147 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N.
What CWE is associated with CVE-2026-54147?
CVE-2026-54147 is classified under CWE-327: Use of a Broken or Risky Cryptographic Algorithm (The product uses a broken or risky cryptographic algorithm or protocol.).
How can I check Maven dependencies for CVE-2026-54147?
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-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
  }
}