CVE-2026-72580

duhow xiaoai-patch - OS Command Injection in /mute and /unmute Endpoints

Published Aug 10, 2026 CVSS 3.1 · 9.8 Critical EPSS 1.7% KEV · Not listed
Description
An OS command injection vulnerability in duhow/xiaoai-patch through commit fb07049 allows a remote attacker to execute arbitrary system commands on Xiaomi smart speakers running the patch. The /mute and /unmute endpoint handlers in api/main.py pass the user-supplied silent query parameter directly to os.system() without sanitization, enabling command injection via shell metacharacters.

Analysis

AI-generated

Technical impact

An OS command injection flaw exists in the /mute and /unmute endpoints of the duhow/xiaoai-patch project. The handler for these endpoints passes a user–supplied silent query parameter directly to os.system() without any sanitization. Consequently, a remote attacker can inject shell metacharacters and execute arbitrary system commands on the device. This breach would grant full control of the Xiaomi smart speaker, allowing an attacker to exfiltrate data, install malware, or use the device as a foothold for further attacks.

Affected Systems

The vulnerability affects installations of the duhow/xiaoai-patch firmware on Xiaomi smart speakers. No specific version information is listed; any instance that includes the vulnerable /mute and /unmute handlers is at risk.

Risk and Exploitability

The CVSS score of 9.8 reflects the severity of this remote code execution. Because the flaw is exposed through a publicly accessible API, the likelihood of exploitation is high, although the EPSS score is not provided. The vulnerability is not currently listed in the CISA KEV catalog, but the lack of a mitigation from the vendor heightens the risk. An attacker only needs network access to the device’s API service to exploit the flaw, making it immediately actionable from a distance.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply an updated version of duhow/xiaoai-patch that removes the unsanitized os.system() call or introduces proper input validation; if unable to upgrade, patch the source by escaping or rejecting shell metacharacters and avoid using os.system for these endpoints.
  • If a patch is unavailable, disable or delete the /mute and /unmute endpoints entirely so that the vulnerable code path cannot be reached from the network.
  • Configure network firewalls or device ACLs to restrict access to the API ports to trusted IP addresses or internal networks only, limiting the exposure of the vulnerable endpoints.

Generated by OpenCVE AI on August 10, 2026 at 12:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Duhow
Duhow xiaoai-patch
Vendors & Products Duhow
Duhow xiaoai-patch
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description An OS command injection vulnerability in duhow/xiaoai-patch through commit fb07049 allows a remote attacker to execute arbitrary system commands on Xiaomi smart speakers running the patch. The /mute and /unmute endpoint handlers in api/main.py pass the user-supplied silent query parameter directly to os.system() without sanitization, enabling command injection via shell metacharacters.
Title duhow xiaoai-patch - OS Command Injection in /mute and /unmute Endpoints
Weaknesses CWE-78
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
TuranSec
Published
Updated
Aug 10, 2026, 1:16 PM
Reserved
Aug 10, 2026, 10:32 AM
Status
Deferred
Published
Aug 10, 2026, 11:17 AM
Modified
Oct 24, 2026, 3:10 PM