Intel

AIKIDO-2026-856709

Mbed-TLS.mbedtls is vulnerable to Improper Authentication

CVE-2026-34873Published Jul 28, 2026
July 28, 2026

85

CVE Score

High

Improper Authentication

Are you affected? Scan for Free

TL;DR

Mbed TLS contains an authentication bypass vulnerability in TLS session resumption. Under specific conditions involving TLS 1.3 session tickets, a HelloRetryRequest, and fallback to TLS 1.2, a man-in-the-middle attacker may cause the server to resume a session using an all-zero master secret, potentially bypassing client authentication and inheriting the authenticated client's privileges. The issue affects servers supporting both TLS 1.2 and TLS 1.3 with client authentication and session ticket resumption enabled.

How do I fix this?

Upgrade to a patched version. If this is not possible, disable TLS 1.3 PSK with (EC)DHE key exchange or disable session ticket generation to prevent the vulnerable resumption path.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and run an Mbed TLS server with both TLS 1.2 and TLS 1.3 enabled, client authentication, and TLS 1.3 session tickets (especially if HelloRetryRequest can occur on resumption).

Package

Mbed-TLS.mbedtls

Versions

3.5.0 - 3.6.5

Fixed in 3.6.6

4.0.0 - 4.0.0

Fixed in 4.1.0

Background info

Mbed-TLS.mbedtls is vulnerable to Improper Authentication in versions 3.5.0 - 3.6.5 and 4.0.0 - 4.0.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea