Skip to main content

Arduino-ESP32 WebServer CVE-2026-137031

| EUVDEUVD-2026-139621 HIGH
Path Traversal (CWE-22)
2026-11-30 security-advisories@github.com
7.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach device HTTP server over network
  2. Delivery
    Send GET with encoded ../ path segments
  3. Exploit
    serveStatic resolves outside static root
  4. Execution
    Server returns out-of-root file
  5. Impact
    Read 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

arduino-esp32 4.0.0-alpha1, < 4.0.0
arduino-esp32 < 3.3.12

Affected Packages

euvd arduino_esp32 fix: 3.3.12, 4.0.0

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

Vendor (github) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Nov 30, 2026 - 19:20 EUVD
CVE Published
Nov 30, 2026 - 18:18 cve.org
HIGH 7.5

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.8%
Top 42% exploitable
Prevalence
Medium
very popular ESP32 IoT/embedded framework, but serveStatic is an opt-in feature
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy