CVE-2026-137031

Source
https://cve.org/CVERecord?id=CVE-2026-137031
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137031.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-137031
Aliases
  • GHSA-vqp8-ppw3-8mc7
Published
2026-11-30T17:43:47Z
Modified
2026-11-30T19:00:09Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
arduino-esp32: Path traversal in Webserver's `serveStatic()`
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-22"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137031.json"
}
References

Affected packages

Git / github.com/espressif/arduino-esp32

Affected ranges

Type
GIT
Repo
https://github.com/espressif/arduino-esp32
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "3.3.12"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "4.0.0-alpha1"
                },
                {
                    "fixed":  "4.0.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "5cdf8975ae8d9e35888b724b01a444d22406424e"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "3.3.12",
            "range":  [
                {
                    "fixed":  "94afccf35fb1e401facddbcf9e13bcf7c76a31d8"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

1.*
1.0.0
1.0.0-RC0
1.0.0-rc1
1.0.0-rc2
1.0.0-rc3
1.0.0-rc4
1.0.1
1.0.1-rc1
1.0.1-rc2
1.0.1-rc3
1.0.1-rc4
1.0.2
1.0.2-rc1
1.0.2-rc2
1.0.3
1.0.3-rc1
1.0.3-rc2
1.0.3-rc3
1.0.4
1.0.4-rc1
1.0.5
1.0.5-rc1
1.0.5-rc2
1.0.5-rc3
1.0.5-rc4
1.0.5-rc5
1.0.5-rc6
1.0.5-rc7
1.0.6
2.*
2.0.0
2.0.0-alpha1
2.0.0-rc1
2.0.0-rc2
2.0.1
2.0.2
2.0.3
2.0.3-RC1
2.0.4
2.0.5
2.0.6
3.*
3.0.0
3.0.0-alpha1
3.0.0-alpha2
3.0.0-alpha3
3.0.0-rc1
3.0.0-rc2
3.0.0-rc3
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.1.1
3.1.2
3.1.3
3.2.0
3.2.0-RC1
3.2.0-RC2
3.2.1
3.3.0
3.3.1
3.3.10
3.3.11
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.3.6-RC1
3.3.7
3.3.8
3.3.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137031.json"