What’s Vulnerable › Vulnerabilities
CVE-2025-53540: CSRF Vulnerability in Firmware Update Endpoints Allows Remote Code Execution
- Severity: high (CVSS 8.7 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-07 · updated 2026-06-17
- Weakness: CWE-352
Description
arduino-esp32 is an Arduino core for the ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6 and ESP32-H2 microcontrollers. Several OTA update examples and the HTTPUpdateServer implementation are vulnerable to Cross-Site Request Forgery (CSRF). The update endpoints accept POST requests for firmware uploads without CSRF protection. This allows an attacker to upload and execute arbitrary firmware, resulting in remote code execution (RCE). This vulnerability is fixed in 3.2.1.
Affected products
- espressif arduino-esp32: before 3.2.1
References
- https://github.com/espressif/arduino-esp32/commit/f4fdecc60c465384e465a4b1d2bd1eac8f67912e
- https://github.com/espressif/arduino-esp32/security/advisories/GHSA-9vfw-wx65-c872
Get alerted when CVE-2025-53540 or the next vulnerability affects your stack