Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-33129 EUVD-2026-13668GHSA-26f5-8h2x-34xh

h3 has an observable timing discrepancy in basic auth utils

Published Mar 20, 2026 · Updated Mar 20, 2026 · Assigned by GitHub_M

Description

H3 is a minimal H(TTP) framework. Versions 2.0.1-beta.0 through 2.0.0-rc.8 contain a Timing Side-Channel vulnerability in the requireBasicAuth function due to the use of unsafe string comparison (!==). This allows an attacker to deduce the valid password character-by-character by measuring the server's response time, effectively bypassing password complexity protections. This issue is fixed in version 2.0.1-rc.9.

Affected products

VendorProductAffectedFixed
h3js h3 >= 2.0.1-beta.0, < 2.0.1-rc.9 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm h3 >= 2.0.0-beta.0, < 2.0.1-rc.9 2.0.1-rc.9 GHSA-26f5-8h2x-34xh

References