{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-137031 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls serveStatic(). Many projects that include it are not exposed.","fix":"Upgrade espressif arduino-esp32 to the fixed version for your release line. The advisory names 3.3.12 and 4.0.0.","what":"CVE-2026-137031 is a high-severity path traversal vulnerability in espressif arduino-esp32, published on 30 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-137031 and fix it if it is affected.\n\nWhat it is: CVE-2026-137031 is a high-severity path traversal vulnerability in espressif arduino-esp32, published on 30 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-137031 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls serveStatic(). Many projects that include it are not exposed.\n\nAffected product: espressif arduino-esp32. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n   If an affected version is present, also search the code for calls to serveStatic() and report whether any exist.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-137031/ (Markdown: https://insights.sbomify.com/CVE-2026-137031/index.md)","id":"CVE-2026-137031","markdown":"https://insights.sbomify.com/CVE-2026-137031/index.md","name":"CVE-2026-137031","record":{"aliases":["GHSA-vqp8-ppw3-8mc7"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Arduino web server","requires_auth":"none","requires_specific_call":true,"summary":"Unauthenticated attackers can read files outside the static root on ESP32 devices using arduino-esp32's WebServer serveStatic().","user_interaction":"not_required","vuln_class":"path_traversal","vulnerable_functions":["serveStatic()"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"GitHub_M","component":null,"cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"arduino-esp32: Path traversal in Webserver's `serveStatic()`","id":"CVE-2026-137031","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":4,"n_vendor_status":0,"next":{"headline":"Bootc: bootc: sealed composefs boot takes fs-verity enforcement from unsigned repository state","id":"CVE-2026-137035"},"nickname":null,"packages":[],"prev":{"headline":"enclave-os-mini: JWT exp claim was optional, giving accepted tokens no upper bound on lifetime","id":"CVE-2026-137030"},"products":["arduino-esp32"],"published":"2026-11-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","text_fixes":["3.3.12","4.0.0"],"updated":"2026-12-01","vendor_status":[],"vendors":["espressif"]},"summary":"Unauthenticated attackers can read files outside the static root on ESP32 devices using arduino-esp32's WebServer serveStatic().","url":"https://insights.sbomify.com/CVE-2026-137031/"}