Skip to content

Http4s: DigestAuth allows replay of captured requests

Moderate severity GitHub Reviewed Published Jul 6, 2026 in http4s/http4s • Updated Sep 15, 2026

Package

maven org.http4s:http4s-ember-core_2.12 (Maven)

Affected versions

<= 0.23.34

Patched versions

0.23.35
maven org.http4s:http4s-ember-core_2.13 (Maven)
<= 0.23.34
>= 1.0.0-M1, <= 1.0.0-M46
0.23.35
1.0.0-M47
maven org.http4s:http4s-ember-core_3 (Maven)
<= 0.23.34
>= 1.0.0-M1, <= 1.0.0-M46
0.23.35
1.0.0-M47

Description

The DigestAuth replay defence stores lastNc + 1 rather than the nonce-count (nc) value it just accepted. When a legitimate client sends non-contiguous nc values (parallel or retried requests, as browsers do), the server's counter lags behind the highest nc seen, and a captured Authorization header can be replayed multiple times.

Impact

A passive observer can turn one captured Digest-authenticated request into several replayed authenticated (state-changing) requests, defeating the core
replay protection Digest provides over Basic.

Preconditions

  • Application uses DigestAuth.
  • Attacker can passively observe at least one legitimate digest request.
  • Legitimate client emits an nc more than one greater than the last, for instance from a parallel or retried request.

Workarounds

  • Deploy over TLS so requests cannot be captured.

References

@rossabaker rossabaker published to http4s/http4s Jul 6, 2026
Published to the GitHub Advisory Database Sep 15, 2026
Reviewed Sep 15, 2026
Last updated Sep 15, 2026

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(32nd percentile)

Weaknesses

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). Learn more on MITRE.

CVE ID

CVE-2026-69206

GHSA ID

GHSA-9xww-74xv-gjfp

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.