CVE-2025-53540: espressif arduino-esp32 · Cross-Site Request Forgery (CSRF)
Affects espressif arduino-esp32Source CVE Database V5
Not known to be exploited · CVSS 8.7 High : upgrade to 3.2.1 soon.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 26% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.2.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 7 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade espressif/arduino-esp32 to 3.2.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubespressif/arduino-esp32pkg:github/espressif/arduino-esp32Other threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should prioritize upgrading all affected arduino-esp32 cores to version 3.2.1 or later, where the vulnerability is fixed. In addition, organizations should implement strict network segmentation to isolate IoT devices and restrict access to OTA update endpoints to trusted management networks only. Employing web application firewalls (WAFs) or network intrusion detection systems (NIDS) to monitor and block suspicious POST requests targeting firmware update endpoints can provide additional defense layers. Device manufacturers and integrators should review their firmware update implementations to ensure robust CSRF protections, such as anti-CSRF tokens or same-origin policy enforcement, are in place. User education on phishing and social engineering risks is also critical to reduce the likelihood of user interaction-based exploitation. For devices already deployed, consider disabling OTA update features if not required or implementing authentication and authorization controls around update mechanisms. Regular security audits and penetration testing of IoT device management interfaces can help identify similar weaknesses proactively.
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.