CVE-2026-119703

xiaozhi-esp32-server through 0.9.8 Authentication Bypass via Spoofed Device-ID Header

Published Oct 30, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
xiaozhi-esp32-server through 0.9.8 contains an authentication bypass vulnerability in WebSocketServer._handle_auth that allows remote unauthenticated attackers to skip Bearer HMAC token verification by spoofing the Device-ID header. Attackers supplying an allowlisted MAC-address-shaped device identifier can open an authenticated WebSocket session, issue voice-assistant commands, exchange audio, and read that device's conversation context.

Analysis

AI-generated

Technical impact

The issue resides in the WebSocketServer._handle_auth method, where an unauthenticated attacker can forge a Device-ID header that mimics an allowlisted MAC‑address format. This prevents the server from performing the Bearer HMAC token check, effectively letting the attacker establish an authenticated WebSocket session. With such a session the attacker can send voice‑assistant commands, stream audio, and read the targeted device’s conversation context. The vulnerability therefore permits unauthorized access to device features and confidential conversation data, and is mapped to CWE‑290 for authentication bypass.

Affected Systems

The flaw affects xinnan‑tech’s xiaozhi‑esp32‑server up to and including version 0.9.8. All builds prior to a future release that addresses the Device‑ID handling are vulnerable unless custom mitigations are applied.

Risk and Exploitability

This weakness carries a CVSS score of 6.3, classified as medium severity. The EPSS score is not reported, so the current exploitation probability cannot be quantified, and the flaw is not listed in the CISA KEV catalog. The most likely attack vector is remote, via the server’s WebSocket interface: an attacker sends a crafted HTTP upgrade request with a spoofed Device‑ID header. Because the check bypasses bearer token validation, the attack requires no prior credentials, but does require network access to the device. No additional conditions, such as local privilege or user interaction, are necessary.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade xiaozhi‑esp32‑server to the latest release that includes the authentication fix (e.g., a version released after the pull request 3457).
  • Restrict inbound WebSocket connections to trusted IP ranges or networks using firewall rules or segmentation, limiting exposure to potential attackers.
  • Configure the server to reject or strictly validate the Device‑ID header so that only authentic MAC‑address‑style identifiers are accepted; if this is not configurable, disable the header and rely solely on the HMAC token for authentication.

Generated by OpenCVE AI on October 30, 2026 at 16:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Xinnan-tech
Xinnan-tech xiaozhi-esp32-server
Vendors & Products Xinnan-tech
Xinnan-tech xiaozhi-esp32-server
Type Values Removed Values Added
Description xiaozhi-esp32-server through 0.9.8 contains an authentication bypass vulnerability in WebSocketServer._handle_auth that allows remote unauthenticated attackers to skip Bearer HMAC token verification by spoofing the Device-ID header. Attackers supplying an allowlisted MAC-address-shaped device identifier can open an authenticated WebSocket session, issue voice-assistant commands, exchange audio, and read that device's conversation context.
Title xiaozhi-esp32-server through 0.9.8 Authentication Bypass via Spoofed Device-ID Header
Weaknesses CWE-290
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-290

    Authentication Bypass by Spoofing

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 4, 2026, 10:49 PM
Reserved
Oct 30, 2026, 2:49 PM
Status
Deferred
Published
Oct 30, 2026, 4:17 PM
Modified
Nov 4, 2026, 11:17 PM