CVE-2026-137179: arduino-esp32: Webserver Authentication bypass

Published Nov 30, 2026
·
Updated

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 OTHERAUTH, 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.

Affected Software

1 affected component
Espressif Arduino-esp32<3.3.12, =4.0.0-alpha1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade arduino-esp32 to a version that resolves this vulnerability.

    Fixed in 3.3.12
  2. Upgrade

    Upgrade arduino-esp32 to a version that resolves this vulnerability.

    Fixed in 4.0.0

Event History

Nov 30, 2026
CVE Published
via MITRE·05:45 PM
Data Sourced
via MITRE·05:45 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Devices using arduino-esp32 versions before 3.3.12, or version 4.0.0-alpha1, are affected when they protect HTTP endpoints with WebServer::authenticate(username, password) or AuthenticationMiddleware configured with a plaintext password. Custom authentication callbacks and authenticateBasicSHA1() are not affected.

2

What does an attacker need to exploit this issue?

An attacker only needs network access to the device's HTTP service. No authentication, user interaction, or prior privileges are required.

3

Are default configurations vulnerable?

The issue depends on application use of the affected plaintext authentication methods, not solely on the presence of arduino-esp32. Devices are exposed if their application uses WebServer::authenticate(username, password) or the affected AuthenticationMiddleware to protect reachable HTTP endpoints.

4

What should be done if immediate patching is not possible?

Restrict network access to the device's HTTP service to trusted networks or management paths, and avoid relying on the affected plaintext authentication methods for protection. Where feasible, use a custom authentication callback or authenticateBasicSHA1(), which are not affected.

5

How can I determine whether a device is affected?

Check the arduino-esp32 version and inspect the application for WebServer::authenticate(username, password) or AuthenticationMiddleware using a plaintext password. Upgrade to 3.3.12 or 4.0.0 to remediate the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203