CVE-2026-72580: duhow xiaoai-patch - OS Command Injection in /mute and /unmute Endpoints
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.
Security readout for executives and security teams
Plain-English summary
A remotely reachable attacker could take control of a Xiaomi smart speaker running the affected xiaoai-patch. Specially crafted input to the mute controls may be interpreted as operating-system commands, potentially exposing data, changing the device, or making it unavailable. Exact affected release mapping is incomplete.
Executive priority
Treat as an immediate containment and remediation priority wherever the affected API is reachable by untrusted users. Unauthenticated command execution can enable complete device compromise and may create a foothold into connected networks. Prioritize exposed deployments first, then validate all installed copies because the available version information is incomplete.
Technical view
CVE-2026-72580 is a CWE-78 OS command injection in the /mute and /unmute handlers within api/main.py. The reported code passes the user-controlled silent query parameter directly to os.system() without sanitization. The CVSS 3.1 score is 9.8, reflecting network access, low complexity, no privileges, no user interaction, and high confidentiality, integrity, and availability impact.
Likely exposure
Exposure applies to Xiaomi smart speakers running duhow/xiaoai-patch through commit fb07049 when the affected API is reachable. Risk is greatest where the service is exposed to untrusted networks. The supplied affected-version value is “0,” with default status unknown, so inventory should rely on deployed commits and code inspection rather than release names alone.
Exploitation context
The described path permits unauthenticated remote command execution through shell metacharacters in a query parameter. However, the source bundle reports that this CVE is not in KEV and provides no evidence of active exploitation, public exploit code, or observed attacks.
Researcher notes
The core evidence identifies direct flow from the silent parameter into os.system() in both endpoint handlers and reports affected code through commit fb07049. Release and fix boundaries are not established in the bundle. Researchers should confirm deployed code lineage, authentication and routing controls, and whether the referenced main-branch file still reflects the vulnerable revision.
Mitigation direction
Restrict the affected API to trusted management networks and block untrusted access immediately.
Disable the patch or affected service where operationally acceptable until remediation is confirmed.
Check project guidance for a fixed commit or release; none is identified in the supplied sources.
Replace direct shell invocation with safe argument handling and strict input validation during remediation.
Monitor speaker and network activity for unexpected processes, connections, or configuration changes.
Validation and detection
Inventory Xiaomi speakers running xiaoai-patch and record their deployed commit identifiers.
Determine whether /mute and /unmute are reachable from untrusted or external networks.
Inspect api/main.py for silent input reaching os.system() or another shell execution mechanism.
Confirm compensating network controls prevent unauthorized access to the affected API.
After remediation, verify shell execution is removed or safely isolated without sending malicious payloads.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-78: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
5Timeline events
1ADP providers
3Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-78 · source CWE mapping
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.