{"id":"CVE-2026-54148","aliases":["CVE-2026-54148","GHSA-p28p-j94q-pg32"],"related":[],"kind":"vulnerability","state":"published","title":"http4k: `DigestAuthProvider.verify` did not bind to request URI","summary":"http4k is a functional toolkit for Kotlin HTTP applications. Prior to 4.51.0.0, 5.42.0.0, and 6.50.0.0, DigestAuthProvider.verify in http4k-security-digest does not compare the uri parameter in an Authorization: Digest response with the actual request URL. An attacker who captures a valid Digest authentication response can replay it against another URL served by the same realm, bypassing the per-request-URI binding and potentially gaining unauthorized read or write access. This issue is fixed in versions 4.51.0.0, 5.42.0.0, and 6.50.0.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"http4k is a functional toolkit for Kotlin HTTP applications. Prior to 4.51.0.0, 5.42.0.0, and 6.50.0.0, DigestAuthProvider.verify in http4k-security-digest does not compare the uri parameter in an Authorization: Digest response with the actual request URL. An attacker who captures a valid Digest authentication response can replay it against another URL served by the same realm, bypassing the per-request-URI binding and potentially gaining unauthorized read or write access. This issue is fixed in versions 4.51.0.0, 5.42.0.0, and 6.50.0.0.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"}],"published":"2026-08-17T21:57:41.000Z","modified":"2026-09-24T21:25:27.050Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-294"],"affected":[{"ranges":[{"version":"< 4.51.0.0","status":"affected"},{"version":">= 5.0.0.0, < 5.42.0.0","status":"affected"},{"version":">= 6.0.0.0, < 6.50.0.0","status":"affected"}],"vendor":"http4k","product":"http4k","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"6.0.0.0","status":"affected","fixed":"6.50.0.0"}],"ecosystem":"Maven","package":"org.http4k:http4k-security-digest","purl":"pkg:maven/org.http4k/http4k-security-digest","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0.0","status":"affected","fixed":"5.42.0.0"}],"ecosystem":"Maven","package":"org.http4k:http4k-security-digest","purl":"pkg:maven/org.http4k/http4k-security-digest","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0.0","status":"affected","fixed":"4.51.0.0"}],"ecosystem":"Maven","package":"org.http4k:http4k-security-digest","purl":"pkg:maven/org.http4k/http4k-security-digest","source":"ghsa"}],"references":[{"url":"https://github.com/http4k/http4k/security/advisories/GHSA-p28p-j94q-pg32","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/github/advisory-database/pull/9477","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/http4k/http4k/commit/725f1b96978dd433348e2b149c1e72b9f5147c90","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/http4k/http4k/releases/tag/6.50.0.0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54148","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/http4k/http4k/commit/725f1b9697","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/http4k/http4k","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-09-22T14:53:41.032Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54148","url":"https://www.cve.org/CVERecord?id=CVE-2026-54148","licence":"CVE Terms of Use","modified":"2026-09-22T14:54:12.650Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p28p-j94q-pg32","url":"https://github.com/advisories/GHSA-p28p-j94q-pg32","licence":"CC-BY-4.0","modified":"2026-09-24T15:00:04.968Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54148","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54148","licence":"Public domain","modified":"2026-09-24T21:25:27.050Z"}],"updatedAt":"2026-11-25T22:59:39.613Z","epss":{"score":0.00328,"percentile":0.2798,"date":"2026-12-01T12:00:22.000Z"}}