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.