SecurityContext

CVE-2026-93302: wolfSSL - Authentication Bypass

  • Cve: CVE-2026-93302
  • Name: wolfSSL - Authentication Bypass
  • Description: MatchTrustedPeer ignores the public key used, leading to forged CA clones passing verification. Affected builds are any that enable the macro WOLFSSL_TRUST_PEER_CERT and load CA certificates with wolfSSL_CTX_trust_peer_cert() or wolfSSL_trust_peer_cert(). The peer must know the certificates being loaded to either of those APIs to take advantage of the issue. When OPENSSL_COMPATIBLE_DEFAULTS is also defined this widens the affected API to include all CA certificate loading. Both macros are defined when using autoconf builds such as (nginx, haproxy, stunnel, wpas, apache httpd, hitch, bind, rsyslog, ffmpeg, all, distro). When the certificate is listed as a trusted peer certificate the issue previously allowed for a malicious (D)TLS server to bypass authentication once knowing which CA’s the client would accept. This also affects mutual authentication cases where the client knows which CA’s the server has loaded. If building with any of these configurations and using (D)TLS where the loaded CA’s could be known and authentication of the peer is desired, users should either: update to the latest wolfSSL version, apply the fix patch, or use the configure flag --disable-openssl-compatible-defaults and not load CA’s with wolfSSL_CTX_trust_peer_cert() or wolfSSL_trust_peer_cert() to mitigate the issue.
  • Impact: Attackers can bypass (D)TLS authentication, potentially allowing unauthorized access or impersonation in mutual authentication scenarios.
  • Remediation: Update to the latest wolfSSL version, apply the fix patch, or disable OpenSSL compatible defaults and avoid loading CA certificates with wolfSSL_CTX_trust_peer_cert() or wolfSSL_trust_peer_cert().
  • Vulnerability type: broken_authentication
  • Vulnerability impact: broken_authentication
  • Requirements: Attacker must know the CA certificates loaded as trusted peers
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
  • Epss score: 0.00237
  • Epss percentile: 0.14814
  • Assignee: [email protected]
  • Published at: 2026-09-27T10:16:59Z
  • Age in days: 58
  • Modified at: 2026-10-02T18:57:08Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-93302
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-295Improper Certificate Validation

References

UrlSourceTags
https://github.com/wolfSSL/wolfssl/commit/22bcd51d553eaac1de37bee91fdac80cc47961e1nvdPatch

Products

ProductAffectedPlatform boundSourcesUrl
wolfssl:wolfssl>= 5.3.0, <= 5.9.2nonvd/v1/products/wolfssl/wolfssl

Projects

RepositoryLink kindsIndexedUrl
wolfSSL/wolfsslcommit, fixyes/v1/repositories/wolfSSL/wolfssl

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts