httpsig-hyper has Improper Digest Verification that May Allow Message Integrity Bypass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
httpsig-hyper is a hyper extension for http message signatures. An issue was discovered in `httpsig-hyper` prior to version 0.0.23 where Digest header verification could incorrectly succeed due to misuse of Rust's `matches!` macro. Specifically, the comparison `if matches!(digest, _expected_digest)` treated `_expected_digest` as a pattern binding rather than a value comparison, resulting in unconditional success of the match expression. As a consequence, digest verification could incorrectly return success even when the computed digest did not match the expected value. Applications relying on Digest verification as part of HTTP message signature validation may therefore fail to detect message body modification. The severity depends on how the library is integrated and whether additional signature validation layers are enforced. This issue has been fixed in `httpsig-hyper` 0.0.23. The fix replaces the incorrect `matches!` usage with proper value comparison and additionally introduces constant-time comparison for digest verification as defense-in-depth. Regression tests have also been added to prevent reintroduction of this issue. Users are strongly advised to upgrade to the patched version. There is no reliable workaround without upgrading. Users who cannot immediately upgrade should avoid relying solely on Digest verification for message integrity and ensure that full HTTP message signature verification is enforced at the application layer.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| junkurihara | httpsig-rs | before 0.0.23 | 0.0.23 | Patch available | CNA |
| — | httpsig-hyper (crates.io) | before 0.0.23 | 0.0.23 | Patch available | GHSA-7v42-g35v-xrch |
- httpsig-rs Vendorjunkurihara Affected before 0.0.23 Fixed in 0.0.23 Patch available CNA
- httpsig-hyper (crates.io) Vendor— Affected before 0.0.23 Fixed in 0.0.23 Patch available GHSA-7v42-g35v-xrch
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:junkurihara:httpsig-hyper:*:*:*:*:*:rust:*:* | before 0.0.23 | Vulnerable | junkurihara |
- cpe:2.3:a:junkurihara:httpsig-hyper:*:*:*:*:*:rust:*:* Versions before 0.0.23 Vulnerable ·junkurihara
Remediation
- Fix · CNA httpsig-rs (junkurihara) Fixed in 0.0.23
- Fix · GHSA-7v42-g35v-xrch httpsig-hyper (crates.io) Fixed in 0.0.23 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-26275
- 2026-10-03 Alias added: GHSA-7v42-g35v-xrch
References
Patch 4
Advisory 2
Sources
- CVE-2026-26275 · CVE Program
- CVE-2026-26275 · NVD
- FIRST EPSS
- GHSA-7v42-g35v-xrch · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences