CVE-2026-137179
arduino-esp32: Webserver Authentication bypass
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.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| arduino-esp32 espressif |
< 3.3.12 (affected) >= 4.0.0-alpha1, < 4.0.0 (affected) |
CNA: GitHub_M |
arduino-esp32arduino-esp32
|
<=3.3.11, 4.0.0-alpha1 (affected, GitHub advisory range) | GitHub GHSA-w887-pg2w-mfj2 |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 9.1 critical |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | CNA: GitHub_M |
| 3.1 / 9.1 critical |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/espressif/arduino-esp32/security/advisories/GHSA-w887-pg2w-mfj2CNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/espressif/arduino-esp32/pull/12794CNA: GitHub_M · x_refsource_MISC
- https://github.com/espressif/arduino-esp32/commit/5cdf8975ae8d9e35888b724b01a444d22406424eCNA: GitHub_M · x_refsource_MISC
- https://github.com/espressif/arduino-esp32/releases/tag/3.3.12CNA: GitHub_M · x_refsource_MISC
- https://github.com/espressif/arduino-esp32/commit/5cdf8975ae8d9e35888b724b01a444d22406424e[email protected]
- https://github.com/espressif/arduino-esp32/pull/12794[email protected]
- https://github.com/espressif/arduino-esp32/releases/tag/3.3.12[email protected]
- https://github.com/espressif/arduino-esp32/security/advisories/GHSA-w887-pg2w-mfj2[email protected]
- https://github.com/espressif/arduino-esp32/security/advisories/GHSA-w887-pg2w-mfj2GitHub Security Advisories · advisory
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.