CVE-2026-137179
CriticalCVSS 9.1Exploitation Probability (EPSS)
Elevated risk58th percentile - higher than 58% of all known CVEs
Summary
In arduino-esp32 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.
Risk Assessment
An attacker can access protected HTTP endpoints, potentially exposing or modifying configuration, credentials, administrative functions, or device controls.
Recommendation
Update arduino-esp32 to version 3.3.12 or 4.0.0 (or later); until then, consider using custom authentication callbacks or authenticateBasicSHA1().
Other vulnerabilities in arduino-esp32
See all- CVE-2026-42854Critical
In versions prior to 3.3.8, the WebServer multipart form parser in arduino-esp32 allocates a Variable Length Array (VLA) on the stack whose size is derived from an attacker-controlled HTTP header field. Sending a boundary string longer than ~8000 characters overflows the stack and may lead to remote code execution.
- CVE-2026-137031High
arduino-esp32 is an Arduino core for ESP32 microcontrollers. Prior to 3.3.12 and in 4.0.0-alpha1, the WebServer library's serveStatic() does not reject literal or percent-encoded . and .. path segments, allowing an unauthenticated network attacker to read files outside the configured static document root on the LittleFS or SPIFFS filesystem. This issue is fixed in versions 3.3.12 and 4.0.0.
- CVE-2026-42855High
In versions prior to 3.3.8, the Digest authentication implementation in arduino-esp32 computed the authentication hash using the URI field from the client's Authorization header, without verifying that it matched the actual requested URI. This allows an attacker to authenticate requests to a different protected URI, bypassing access control.
- CVE-2026-41429High
In versions prior to 3.3.8, the arduino-esp32 library has a memory corruption issue in the NBNS packet handling. When NetBIOS is enabled, the device listens on UDP port 137 and processes untrusted NBNS requests from the local network.
- CVE-2025-53540High
arduino-esp32 is an Arduino core for ESP32 microcontrollers. Several OTA update examples and the HTTPUpdateServer implementation are vulnerable to Cross-Site Request Forgery (CSRF). The update endpoints accept POST requests for firmware uploads without CSRF protection, allowing an attacker to upload and execute arbitrary firmware, resulting in remote code execution (RCE). This vulnerability is fixed in 3.2.1.
- CVE-2025-53007High
arduino-esp32 versions prior to 3.3.0-RC1 and 3.2.1 contain an HTTP Response Splitting vulnerability. The sendHeader function does not validate or sanitize the name and value parameters, allowing injection of CR/LF characters and manipulation of the HTTP response.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

