ESPHome 2025.8.0 web_server incorrect implementation of authentication algorithm

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.0$0-$5k0.00

Summaryinfo

A vulnerability was found in ESPHome 2025.8.0 and classified as critical. This impacts an unknown function of the component web_server. Executing a manipulation can lead to incorrect implementation of authentication algorithm. The identification of this vulnerability is CVE-2025-57808. The attack needs to be done within the local network. There is no exploit available. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in ESPHome 2025.8.0. It has been declared as critical. This vulnerability affects an unknown code of the component web_server. The manipulation with an unknown input leads to a incorrect implementation of authentication algorithm vulnerability. The CWE definition for the vulnerability is CWE-303. The requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

ESPHome is a system to control microcontrollers remotely through Home Automation systems. In version 2025.8.0 in the ESP-IDF platform, ESPHome's web_server authentication check can pass incorrectly when the client-supplied base64-encoded Authorization value is empty or is a substring of the correct value. This allows access to web_server functionality (including OTA, if enabled) without knowing any information about the correct username or password. This issue has been patched in version 2025.8.1.

The advisory is shared for download at github.com. This vulnerability was named CVE-2025-57808 since 08/20/2025. The exploitation appears to be easy. The attack needs to be initiated within the local network. No form of authentication is required for a successful exploitation. There are neither technical details nor an exploit publicly available.

Upgrading to version 2025.8.1 eliminates this vulnerability. Applying the patch 2aceb56606ec8afec5f49c92e140c8050a6ccbe5 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.2
VulDB Meta Temp Score: 7.0

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 8.1
CNA Vector (GitHub_M): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Incorrect implementation of authentication algorithm
CWE: CWE-303
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: ESPHome 2025.8.1
Patch: 2aceb56606ec8afec5f49c92e140c8050a6ccbe5

Timelineinfo

08/20/2025 CVE reserved
09/02/2025 +13 days Advisory disclosed
09/02/2025 +0 days VulDB entry created
09/02/2025 +0 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: GHSA-mxh2-ccgj-8635
Status: Confirmed

CVE: CVE-2025-57808 (🔒)
GCVE (CVE): GCVE-0-2025-57808
GCVE (VulDB): GCVE-100-322144

Entryinfo

Created: 09/02/2025 07:50
Changes: 09/02/2025 07:50 (65)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!