Skip to content
High 7.5

arduino-esp32のWebServerに認証なしで任意のファイルを読まれる脆弱性

CVE-2026-137031 First seen on SecPulse

Summary

arduino-esp32のWebServerライブラリで、serveStatic()がパス内の「.」や「..」を拒否せず、細工したHTTPリクエストで静的ファイルのルート外にあるファイルを読まれる脆弱性が見つかりました。3.3.12より前と4.0.0-alpha1が対象で、3.3.12と4.0.0で修正されています。serveStatic()を使い、機密ファイルを含むLittleFSやSPIFFSを使う機器は、修正版への更新を急いでください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

arduino-esp32のWebServerライブラリで、serveStatic()がパス内の「.」や「..」を拒否せず、細工したHTTPリクエストで静的ファイルのルート外にあるファイルを読まれる脆弱性が見つかりました。3.3.12より前と4.0.0-alpha1が対象で、3.3.12と4.0.0で修正されています。serveStatic()を使い、機密ファイルを含むLittleFSやSPIFFSを使う機器は、修正版への更新を急いでください。

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details