CVE-2026-137031

7.5High

Published Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.5CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on confidentiality
Weakness
CWE-22

What an attacker gets

Unauthenticated attackers can read arbitrary files from the device filesystem via crafted HTTP requests. This requires the application to use the serveStatic() function in the WebServer library.

Root cause

The serveStatic() implementation fails to sanitize path traversal sequences like . and .. in HTTP requests.

Affected versions

arduino-esp32 versions prior to 3.3.12 and 4.0.0-alpha1

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Fix & remediation

Update to arduino-esp32 version 3.3.12 or 4.0.0. If you cannot update, remove calls to serveStatic() or ensure the mounted filesystem contains no sensitive data.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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, the WebServer library's serveStatic() implementation does not reject literal or percent-encoded . and .. path segments. An unauthenticated network attacker can submit a crafted HTTP request that resolves outside the configured static document root and reads files elsewhere on the LittleFS or SPIFFS filesystem. Applications that do not call serveStatic(), or that mount only a dedicated public filesystem without sensitive files, are not materially affected. This issue is fixed in versions 3.3.12 and 4.0.0.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-137031

More fully triaged vulnerabilities you may want to check next.