CVE-2025-53540

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-53540
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53540.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-53540
Aliases
  • GHSA-9vfw-wx65-c872
Published
2025-07-07T20:15:28Z
Modified
2025-07-08T17:04:07.540712Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/espressif/arduino-esp32

Affected ranges

Type
GIT
Repo
https://github.com/espressif/arduino-esp32
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

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.1-RC1
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.0
3.1.0-RC1
3.1.0-RC2
3.1.0-RC3
3.1.1
3.1.2
3.1.3
3.2.0
3.2.0-RC1
3.2.0-RC2