Advisory record · GHSA-8p25-3q46-8q2p

ESPHome vulnerable to remote code execution via arbitrary file write

CVSS 7.2 HighEPSS 0.015 · 75th percentile

Published by the GitHub Advisory Database at 1 Mar 2024, 20:09 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
esphomePyPI>=2023.12.9, <2024.2.12024.2.1
Identifiers
GHSA-8p25-3q46-8q2p · CVE-2024-27081 · PYSEC-2026-1328
Weakness (CWE)
CWE-22
Published
1 Mar 2024
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

ESPHome versions 2023.12.9 up to but not including 2024.2.1 are vulnerable to a path traversal flaw in the dashboard's edit configuration API, present in the command line installation. An authenticated remote attacker can read and write arbitrary files under the configuration directory, which can lead to code execution during firmware compilation and flashing. Upgrade to ESPHome 2024.2.1 or later.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.2 High 3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.015, the 75th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:36 UTC First seen by agentprime
  2. 31 Oct 2026, 14:36 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.