GHSA-mhq8-94h7-mrgx
A vulnerability exists in the OpenSSL compatibility certificate-path-building path of wolfSSL when the X509_V_FLAG_PARTIAL_CHAIN verify flag is enabled. This flaw allows partial-chain certificate verification to accept certificate chains that terminate at a peer-supplied, untrusted intermediate certificate instead of a trusted anchor. An attacker could exploit this by presenting a chain ending at an intermediate certificate they control, causing it to be accepted as valid.
AI Analysis
Technical Summary
The vulnerability (CVE-2026-6091) affects wolfSSL's OpenSSL compatibility certificate-path-building implementation (wolfSSL_X509_verify_cert / X509_STORE, OPENSSL_EXTRA) when the X509_V_FLAG_PARTIAL_CHAIN flag is enabled. The partial-chain verification process may incorrectly accept certificate chains that end at an untrusted intermediate certificate supplied by a peer, rather than requiring the chain to terminate at a trusted root certificate authority. This can allow an attacker to present a malicious intermediate certificate as valid, potentially undermining the trust model of certificate validation.
Potential Impact
If exploited, this vulnerability could allow an attacker to have a certificate chain accepted as valid when it terminates at an untrusted intermediate certificate controlled by the attacker. This undermines the integrity of certificate validation and could lead to man-in-the-middle attacks or unauthorized access where certificate-based authentication is used.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid enabling the X509_V_FLAG_PARTIAL_CHAIN verify flag in wolfSSL's OpenSSL compatibility mode or implement additional validation controls to ensure certificate chains terminate at trusted anchors.
GHSA-mhq8-94h7-mrgx
Description
A vulnerability exists in the OpenSSL compatibility certificate-path-building path of wolfSSL when the X509_V_FLAG_PARTIAL_CHAIN verify flag is enabled. This flaw allows partial-chain certificate verification to accept certificate chains that terminate at a peer-supplied, untrusted intermediate certificate instead of a trusted anchor. An attacker could exploit this by presenting a chain ending at an intermediate certificate they control, causing it to be accepted as valid.
CVSS v4.0
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CVE-2026-6091) affects wolfSSL's OpenSSL compatibility certificate-path-building implementation (wolfSSL_X509_verify_cert / X509_STORE, OPENSSL_EXTRA) when the X509_V_FLAG_PARTIAL_CHAIN flag is enabled. The partial-chain verification process may incorrectly accept certificate chains that end at an untrusted intermediate certificate supplied by a peer, rather than requiring the chain to terminate at a trusted root certificate authority. This can allow an attacker to present a malicious intermediate certificate as valid, potentially undermining the trust model of certificate validation.
Potential Impact
If exploited, this vulnerability could allow an attacker to have a certificate chain accepted as valid when it terminates at an untrusted intermediate certificate controlled by the attacker. This undermines the integrity of certificate validation and could lead to man-in-the-middle attacks or unauthorized access where certificate-based authentication is used.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid enabling the X509_V_FLAG_PARTIAL_CHAIN verify flag in wolfSSL's OpenSSL compatibility mode or implement additional validation controls to ensure certificate chains terminate at trusted anchors.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-mhq8-94h7-mrgx
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-6091"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a3ef79027e9c79719ff6e81
Added to database: 06/26/2026, 22:05:04 UTC
Last enriched: 06/26/2026, 22:17:28 UTC
Last updated: 06/27/2026, 01:11:12 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.