# CVE-2026-137031: arduino-esp32: Path traversal in Webserver's `serveStatic()`

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Published: 2026-11-30T17:43:47.777Z
- Modified: 2026-12-01T14:18:12.390Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- espressif arduino-esp32: < 3.3.12; >= 4.0.0-alpha1, < 4.0.0

## References

- <https://github.com/espressif/arduino-esp32/security/advisories/GHSA-vqp8-ppw3-8mc7>
- <https://github.com/espressif/arduino-esp32/pull/12794>
- <https://github.com/espressif/arduino-esp32/commit/5cdf8975ae8d9e35888b724b01a444d22406424e>
- <https://github.com/espressif/arduino-esp32/releases/tag/3.3.12>

## Sources

- CVE List: [CVE-2026-137031](https://www.cve.org/CVERecord?id=CVE-2026-137031), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-137031](https://nvd.nist.gov/vuln/detail/CVE-2026-137031), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-137031 · Whole record: https://cve.day/CVE-2026-137031.json · Rebuilt by cve.day 2026-12-01T14:32:13.005Z
