Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach device HTTP server over network
-
DeliverySend GET with encoded ../ path segments
-
ExploitserveStatic resolves outside static root
-
ExecutionServer returns out-of-root file
-
ImpactRead sensitive filesystem contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the application to (1) use the WebServer library's serveStatic() to serve files, and (2) have the served LittleFS or SPIFFS filesystem contain sensitive files (credentials, certificates, configuration) outside the intended public directory - if only a dedicated public directory with no sensitive files is mounted, impact is immaterial per the advisory. The HTTP server must be network-reachable; the advisory notes exposure can be limited by firewalling, network segmentation, or disabling SoftAP when not required. No authentication is required (PR:N) and no user interaction (UI:N); the limiting factors are the serveStatic() usage and the filesystem layout, not access controls. Impact is read-only disclosure - no write, modification, or availability effect (I:N/A:N). |
| Impact | This is a genuine but conditional priority, not an overhyped high-CVSS issue. The CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms a remote, low-complexity, unauthenticated read primitive, scoring 7.5 with C:H and I:N/A:N - an information-disclosure-only flaw, consistent with path traversal (CWE-22) exposing files on the LittleFS/SPIFFS filesystem. The vuln.today decision label is 'this_week' rather than act_now/emergency, which aligns with the absence of KEV listing and no EPSS score in the provided data: there is no confirmed active exploitation and no public exploitation-probability signal. The real-world impact is strongly gated by deployment: the advisory and description both state that applications not calling serveStatic(), or serving only a dedicated public directory with no sensitive files on the mounted filesystem, are not materially affected. So the headline C:H assumes a worst-case layout where credentials, certificates, or config files sit on the same filesystem as the served root. Missing signals to note explicitly: no EPSS score, no KEV entry, and no PoC/exploit reference are provided - exploitation ease is inferred from the CVSS vector and the simple nature of traversal, not from a demonstrated exploit. |
| Exploit ScenarioDerived | An attacker with network reach to an ESP32 device running the WebServer library with serveStatic() submits a crafted HTTP GET whose path contains literal or percent-encoded '.' or '..' segments (e.g. requesting a parent-directory path), causing the server to resolve and return a file outside the configured static root. If the device stores Wi-Fi credentials, API keys, TLS private keys, or configuration on the same LittleFS/SPIFFS volume, those files are read back unauthenticated. No public exploit is identified in the provided data, but the technique is trivial and requires only an HTTP client. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 30, 2026
Path traversal in the Arduino-ESP32 WebServer library's serveStatic() lets an unauthenticated network attacker read files outside the configured static document root on LittleFS or SPIFFS, exposing credentials, certificates, or configuration when those files reside on the same mounted filesystem. Versions 3.3.11 and earlier, plus 4.0.0-alpha1, are affected; the issue is fixed in 3.3.12 and 4.0.0. Applications that do not call serveStatic() or mount only a dedicated public filesystem with no sensitive files are not materially affected. No public exploit code was identified at time of analysis, and exploitation is conditional on serveStatic() use and a filesystem layout containing sensitive files.
RemediationAI
Upgrade to arduino-esp32 3.3.12 or 4.0.0; the vendor advisory GHSA-vqp8-ppw3-8mc7 and release tag https://github.com/espressif/arduino-esp32/releases/tag/3.3.12 document the fix, which rejects literal and percent-encoded '.' and '..' path segments in serveStatic(). If an immediate upgrade is not possible, the advisory recommends storing sensitive files outside the filesystem used by serveStatic(), serving static content from a dedicated public directory instead of the filesystem root, and restricting network exposure of the HTTP server through firewalling, network segmentation, or disabling SoftAP when it is not required; disabling SoftAP removes that exposure path but may affect wireless provisioning or connectivity. Applications that do not call serveStatic() are not materially affected. The vuln.today decision label is this_week, so remediation should be scheduled within the current weekly cycle.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The WebServer library in arduino-esp32 serves static content from a directory on LittleFS or SPIFFS. Its serveStatic() implementation did not reject request paths containing literal or percent-encoded '.' or '..' path segments, so a crafted HTTP request could resolve outside the configured static document root. This is a CWE-22 path traversal with read-only disclosure; the supplied vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. The advisory identifies commit 5cdf8975ae8d9e35888b724b01a444d22406424e and PR 12794 and states the fix rejects those path segments. No CPE strings were supplied. The trigger beyond a crafted HTTP request to a serveStatic() endpoint is not further described in the available sources.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Remote unauthenticated HTTP request with no interaction (AV:N/AC:L/PR:N/UI:N); read-only traversal gives C:H with no integrity or availability impact and no scope change.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-22 (Improper Limitation of a Pathname to a Restricted Directory).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity path traversal flaw in the Arduino-ESP32 WebServer library (CVE-2026-137031) allows an unauthenticated network attacker to read files outside the configured static document root, potentially exposing stored credentials, TLS certificates, or configuration data on embedded and IoT devices. Any product or prototype built on affected library versions (3.3.11 and earlier, or 4.0.0-alpha1) that calls serveStatic() over a network-facing web server is exposed; leadership should care because leaked device credentials or certificates can enable lateral movement and compromise of connected systems.
No vendor-released patch identified at time of analysis for the affected versions in scope; interim mitigations: remove or disable serveStatic() on network-facing instances, move credentials/certificates/configuration off the publicly mounted LittleFS or SPIFFS filesystem, and restrict network access to affected web servers. Vendor fix versions 3.3.12 and 4.0.0 are referenced in the description and should be applied when available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-139621
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB