CVE-2026-137179 espressif · arduino-esp32
AI summary
arduino-esp32 before 3.3.12 and 4.0.0-alpha1 let WebServer::authenticate(username, password) accept an unsupported Authorization scheme, so remote unauthenticated attackers can access HTTP endpoints protected with a plaintext password and expose or modify configuration, credentials or device controls. Custom auth callbacks and authenticateBasicSHA1() are not affected. Critical (9.1); update to 3.3.12 or 4.0.0.
Official description
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.
- Published
- 2026-11-30 18:18 UTC
- Modified
- 2026-11-30 18:18 UTC
- CVSS
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - ENISA EUVD
- EUVD-2026-139622
- CWE
- CWE-287
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- none
References
- NVD · CVE.org
- github.com
https://github.com/espressif/arduino-esp32/commit/5cdf8975ae8d9e35888b724b01a444d22406424e - github.com
https://github.com/espressif/arduino-esp32/pull/12794 - github.com
https://github.com/espressif/arduino-esp32/releases/tag/3.3.12 - github.com
https://github.com/espressif/arduino-esp32/security/advisories/GHSA-w887-pg2w-mfj2