Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-89133 Overview
CVE-2026-89133 is a certificate validation flaw in wolfSSL versions 5.9.2 and earlier. The library fails to enforce X.509 NameConstraints extensions when a chain contains an unconstrained intermediate Certificate Authority (CA) positioned between a name-constrained intermediate CA and the leaf certificate. A chain-walking state machine resets validation state when it encounters an intermediate without NameConstraints, allowing certificates to cover hostnames they should not. This defect falls under [CWE-295: Improper Certificate Validation] and affects the default build configuration when name constraint extensions are in use. The issue was reported by Jack Lloyd, PathDiff, and Ben Smyth.
Critical Impact
Attackers controlling an unconstrained subordinate CA can issue certificates for hostnames outside the delegated namespace, bypassing cryptographic delegation controls and enabling man-in-the-middle attacks against TLS peers using wolfSSL.
Affected Products
- wolfSSL versions 5.9.2 and earlier
- Default build configurations that process certificates with NameConstraints extensions
- Any application or embedded device relying on wolfSSL for X.509 chain validation
Discovery Timeline
- Vulnerability reported by Jack Lloyd, PathDiff, and Ben Smyth
- 2026-09-27 - CVE-2026-89133 published to NVD
- 2026-09-29 - Last updated in NVD database
Technical Details for CVE-2026-89133
Vulnerability Analysis
The flaw resides in wolfSSL's X.509 chain-walking logic. When the validator traverses a certificate chain, it must propagate NameConstraints restrictions from any constrained CA to every subordinate certificate below it, including the leaf. wolfSSL instead resets its constraint-tracking state when the next intermediate lacks its own NameConstraints extension. The constraints applied to the parent CA are effectively discarded for the remainder of the chain. The leaf certificate is then accepted even when its Subject Alternative Name (SAN) covers hostnames excluded by the ancestor CA.
This breaks a core assumption of Public Key Infrastructure (PKI) delegation. A root operator may delegate a constrained CA to a tenant, expecting that tenant to be limited to a specific DNS namespace. Under CVE-2026-89133, the tenant can issue an unconstrained sub-CA and then mint leaf certificates for arbitrary hostnames that wolfSSL clients will trust.
Root Cause
The root cause is incorrect state management during chain validation. NameConstraints enforcement must be cumulative across the chain, but wolfSSL evaluates constraints per-tier rather than inheriting them downward. An unconstrained intermediate silently clears accumulated restrictions, violating RFC 5280 path validation requirements.
Attack Vector
Exploitation requires an attacker to control, or obtain certificates from, a sub-CA chained beneath a name-constrained CA that a target wolfSSL deployment trusts. The attacker inserts an intermediate CA without NameConstraints, then issues a leaf certificate for a victim hostname outside the permitted namespace. A wolfSSL peer presented with this chain accepts the certificate and completes the TLS handshake, enabling impersonation or interception of traffic.
The attack is network-based and requires no user interaction, but attack complexity is high because it depends on the specific trust topology and access to an exploitable CA tier. No public exploit is reported.
See the wolfSSL Pull Request 10687 for the upstream fix and additional technical detail.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-89133
Indicators of Compromise
- Unexpected certificate chains presented to wolfSSL-based clients where an intermediate CA lacks NameConstraints but a parent CA defines them.
- TLS sessions terminating on hostnames whose certificates were issued by a sub-CA outside the expected delegated namespace.
- Certificate transparency log entries showing issuance for your domains by CAs that should be constrained to other namespaces.
Detection Strategies
- Inventory applications and firmware linking against wolfSSL and record the linked version against 5.9.2 and earlier.
- Audit trusted root and intermediate CA stores for NameConstraints extensions and map downstream intermediates that lack their own constraints.
- Perform chain-validation differential testing between wolfSSL and a reference implementation such as OpenSSL to surface chains that only wolfSSL accepts.
Monitoring Recommendations
- Monitor Certificate Transparency (CT) logs for unexpected issuance covering your domains.
- Alert on TLS handshakes where the presented chain includes an unconstrained intermediate under a constrained parent.
- Capture and retain full certificate chains in TLS telemetry to support post-incident chain reconstruction.
How to Mitigate CVE-2026-89133
Immediate Actions Required
- Identify every wolfSSL-linked product in the environment and prioritize upgrades for internet-facing TLS endpoints and devices that trust externally delegated CAs.
- Review trust stores and remove any CAs that cannot be validated against expected NameConstraints behavior.
- Coordinate with vendors of embedded devices and IoT firmware that statically link wolfSSL to obtain patched builds.
Patch Information
The fix is tracked in wolfSSL Pull Request 10687. Upgrade to a wolfSSL release that incorporates this patch (post-5.9.2). Rebuild and redeploy any application that statically links the library.
Workarounds
- Reduce the set of trusted root CAs to only those under direct organizational control until patched builds are deployed.
- Pin certificates or public keys for critical TLS endpoints to prevent acceptance of chains issued through unexpected CA paths.
- Where feasible, perform supplementary chain validation using a second TLS stack that correctly enforces NameConstraints inheritance before trusting the connection.
# Verify the wolfSSL version in use and confirm the patched release is installed
wolfssl-config --version
# Expected: a release later than 5.9.2 that includes the PR 10687 fix
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

