CVE-2024-29019
HIGH 8.1CVSS 3.1ESPHome vulnerable to Authentication bypass via Cross site request forgery
ESPHome is a system to control microcontrollers remotely through Home Automation systems. API endpoints in dashboard component of ESPHome version 2023.12.9 (command line installation) are vulnerable to Cross-Site Request Forgery (CSRF) allowing remote attackers to carry out attacks against a logged user of the dashboard to perform operations on configuration files (create, edit, delete). It is possible for a malicious actor to create a specifically crafted web page that triggers a cross site request against ESPHome, this allows bypassing the authentication for API calls on the platform. This vulnerability allows bypassing authentication on API calls accessing configuration file operations on the behalf of a logged user. In order to trigger the vulnerability, the victim must visit a weaponized page. In addition to this, it is possible to chain this vulnerability with GHSA-9p43-hj5j-96h5/ CVE-2024-27287 to obtain a complete takeover of the user account. Version 2024.3.0 contains a patch for this issue.
- Published
- 11 Apr 2024
- Last modified
- 7 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-352
- Also known as
- GHSA-5925-88xh-6h99PYSEC-2026-1327
- Sources
- NVDJSONOSV GHSA-5925-88xh-6h99JSONOSV PYSEC-2026-1327JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | esphome | >= 2023.12.9, < 2024.3.0 | 2024.3.0 |
References
- https://github.com/advisories/GHSA-9p43-hj5j-96h5 · ADVISORY
- https://github.com/esphome/esphome/security/advisories/GHSA-5925-88xh-6h99 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-29019 · ADVISORY
- https://github.com/esphome/esphome/pull/6396 · WEB
- https://github.com/esphome/esphome/pull/6397 · WEB
- https://github.com/esphome/esphome/commit/c56c40cb824e34ed2b89ba1cb8a3a5eb31459c74 · WEB
- https://github.com/esphome/esphome · PACKAGE
- https://github.com/esphome/esphome/releases/tag/2024.3.0 · WEB
- https://pypi.org/project/esphome · PACKAGE
- https://github.com/advisories/GHSA-5925-88xh-6h99 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 11 Apr 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Mar 2024)