Improper Certificate Validation Affecting rustls-webpki package, versions >=0.101.0 <0.103.12>=0.104.0-alpha.1 <0.104.0-alpha.6


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-RUSTLSWEBPKI-16110817
  • published20 Apr 2026
  • disclosed16 Apr 2026
  • creditOleh Konko

Introduced: 16 Apr 2026

New CVE NOT AVAILABLE CWE-295  (opens in a new tab)

How to fix?

Upgrade rustls-webpki to version 0.103.12, 0.104.0-alpha.6 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation due to improper enforcement of name constraints for URI names. An attacker can bypass intended certificate restrictions by presenting a certificate with improperly accepted URI name constraints after successful signature verification and in cases of certificate misissuance.

Note: This is only exploitable if a certificate is misissued and signature verification is passed.

CVSS Base Scores

version 4.0
version 3.1