Read the docs

arduino-esp32: Path traversal in Webserver's `serveStatic()`

Priority MEDIUM 48CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.

Summary

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.

Why it matters now

Fix Fixed arduino-esp32 (espressif): 3.3.12, 4.0.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
espressifarduino-esp32before 3.3.12; 4.0.0-alpha1 to before 4.0.03.3.12, 4.0.0Patch availableCNA
  • arduino-esp32 Vendorespressif Affected before 3.3.12; 4.0.0-alpha1 to before 4.0.0 Fixed in 3.3.12, 4.0.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:espressif:arduino-esp32:*:*:*:*:*:*:*:*——espressif
  • cpe:2.3:a:espressif:arduino-esp32:*:*:*:*:*:*:*:* Versions — — ·espressif

Remediation

  • Fix · CNA arduino-esp32 (espressif) Fixed in 3.3.12, 4.0.0

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-137031

References

  • TI-2026-31061 arduino-esp32: Stack buffer overflow in WebServer multipart boundary parsing leads to remote crash potential RCE CVSS 3.1CRITICAL 9.8
  • TI-2024-30765 Multiple Poisoned Pipeline Execution (PPE) vulnerabilities CVSS 3.1CRITICAL 10.0
  • TI-2026-30028 Improper validation of NBNS name_len in arduino-esp32 NetBIOS leads to memory corruption CVSS 3.1HIGH 8.8
  • TI-2025-33484 CSRF Vulnerability in Firmware Update Endpoints Allows Remote Code Execution CVSS 4.0HIGH 8.7
  • TI-2024-22076 Buffer Overflow vulnerability in esp-idf v.5.1 allows a remote attacker to execute… CVSS 3.1MEDIUM 6.5
  • TI-2026-101130 Authentication bypass in arduino-esp32 WebServer plaintext authentication CVSS 3.1CRITICAL 9.1
See all 61 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences