CVE-2026-137031
HIGH 7.5CVSS 3.1arduino-esp32: Path traversal in Webserver's `serveStatic()`
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.
- Published
- 30 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-22
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CVE List | GitHub_M | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | espressif | arduino-esp32 | = < 3.3.12; = >= 4.0.0-alpha1, < 4.0.0 |
References
- https://github.com/espressif/arduino-esp32/commit/5cdf8975ae8d9e35888b724b01a444d22406424e · x_refsource_MISC
- https://github.com/espressif/arduino-esp32/pull/12794 · x_refsource_MISC
- https://github.com/espressif/arduino-esp32/releases/tag/3.3.12 · x_refsource_MISC
- https://github.com/espressif/arduino-esp32/security/advisories/GHSA-vqp8-ppw3-8mc7 · x_refsource_CONFIRM
History
- 1 Dec 2026 14:27 UTC · NVD: updated (other details)
- 1 Dec 2026 13:27 UTC · CVE List: updated (other details)
- 30 Nov 2026 18:27 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 17:55 UTC · CVE List: first stored (published 30 Nov 2026)