Read the docs

Authentication bypass in arduino-esp32 WebServer plaintext authentication

Priority MEDIUM 54CWE-287Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-287.

Summary

Espressif arduino-esp32 from 4.0.0-alpha1 before 4.0.0 and before 3.3.12 accepts an arbitrary non-empty Authorization value that matches the configured username in WebServer::authenticate(username, password), and the plaintext authenticator then returns the configured password instead of rejecting the unsupported scheme. A remote unauthenticated attacker can reach HTTP endpoints protected by this plaintext password check or AuthenticationMiddleware, which is classified as CWE-287 (Improper Authentication). Successful access could expose or modify configuration, credentials, administrative functions, or device controls.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

arduino-esp32 is an Arduino core for the ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6 and ESP32-H2 microcontrollers. Prior to 3.3.12 and in 4.0.0-alpha1, WebServer::authenticate(const char *username, const char *password) parses an arbitrary non-empty Authorization value matching the configured username as OTHER_AUTH, and the built-in plaintext authenticator returns the configured password instead of rejecting the unsupported scheme. A remote unauthenticated attacker can therefore access HTTP endpoints protected by WebServer::authenticate(username, password) or AuthenticationMiddleware with a plaintext password, potentially exposing or modifying configuration, credentials, administrative functions, or device controls. Custom authentication callbacks and authenticateBasicSHA1() are not affected. This issue is fixed in versions 3.3.12 and 4.0.0.

Why it matters now

Fix Fixed arduino-esp32 (espressif): 3.3.12, 4.0.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
espressifarduino-esp32before 3.3.12; 4.0.0-alpha1 to before 4.0.03.3.12, 4.0.0Patch availableCNA
  • arduino-esp32 Vendorespressif Affected before 3.3.12; 4.0.0-alpha1 to before 4.0.0 Fixed in 3.3.12, 4.0.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:espressif:arduino-esp32:*:*:*:*:*:*:*:*——espressif
  • cpe:2.3:a:espressif:arduino-esp32:*:*:*:*:*:*:*:* Versions — — ·espressif

Remediation

Update arduino-esp32 to version 3.3.12 or 4.0.0. Custom authentication callbacks and authenticateBasicSHA1() are not affected.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

  • Fix · CNA arduino-esp32 (espressif) Fixed in 3.3.12, 4.0.0

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-137179

References

  • TI-2026-31061 arduino-esp32: Stack buffer overflow in WebServer multipart boundary parsing leads to remote crash potential RCE CVSS 3.1CRITICAL 9.8
  • TI-2024-30765 Multiple Poisoned Pipeline Execution (PPE) vulnerabilities CVSS 3.1CRITICAL 10.0
  • TI-2026-30028 Improper validation of NBNS name_len in arduino-esp32 NetBIOS leads to memory corruption CVSS 3.1HIGH 8.8
  • TI-2025-33484 CSRF Vulnerability in Firmware Update Endpoints Allows Remote Code Execution CVSS 4.0HIGH 8.7
  • TI-2024-22076 Buffer Overflow vulnerability in esp-idf v.5.1 allows a remote attacker to execute… CVSS 3.1MEDIUM 6.5
  • TI-2026-101129 arduino-esp32: Path traversal in Webserver's `serveStatic()` CVSS 3.1HIGH 7.5
See all 61 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences