RUSTSEC-2026-0098: Name constraints for URI names were incorrectly accepted
| Details | |
|---|---|
| Package | rustls-webpki |
| Version | 0.101.7 |
| URL | n/a |
| Patched Versions | >=0.103.12, <0.104.0-alpha.1 OR >=0.104.0-alpha.6 |
| Aliases | CVE-2026-93600, GHSA-965h-392x-2mh5 |
Name constraints for URI names were ignored and therefore accepted.
Note this library does not provide an API for asserting URI names, and URI name constraints are otherwise not implemented. URI name constraints are now rejected unconditionally.
Since name constraints are restrictions on otherwise properly-issued certificates, this bug is reachable only after signature verification and requires misissuance to exploit.
This vulnerability is identified as GHSA-965h-392x-2mh5. Thank you to @1seal for the report.
Hi, I hit this advisory in my fork's nightly audit and traced the full dependency chain. Sharing in case it helps whoever picks this up.
The chain is: bdk_esplora -> esplora-client 0.12.3 -> minreq 2.14.1 -> rustls 0.21 -> rustls-webpki 0.101.7. The patched line (0.103.12+) is semver-incompatible with 0.101.x, so no cargo update can reach it; the fix has to come from esplora-client migrating off minreq, which per #2214 is already in flight (0.13.0 moved to bitreq).
One caveat for whoever lands that PR: bdk_bitcoind_rpc's dev-dependency on bitcoincore-rpc 0.19.0 also pulls jsonrpc 0.18.0 -> minreq 2.14.1, so the audit will still flag rustls-webpki 0.101.7 after the esplora-client bump alone.
In the meantime, consumers can keep CI green with a documented .cargo/audit.toml ignore; an example: https://github.com/devtechedge/bdk/blob/master/.cargo/audit.toml