Impact
A flaw in the _get_safety_warning function of the Bash Tool in zhayujie chatgpt‑on‑wechat allows an attacker to inject operating‑system commands via unsanitized input. The vulnerability is limited to this helper function, but the injected commands can be used to execute arbitrary code, compromising the confidentiality, integrity, and availability of the host. The weakness maps to CWE‑77 and CWE‑78, indicating a lack of proper input validation for system command execution.
Affected Systems
The flaw exists in all releases of zhayujie chatgpt‑on‑wechat up to version 2.0.8. Users running these or earlier releases are vulnerable. An update to version 2.0.9, which includes the patch identified by commit 16d9b449c9aa53ccee44144a762a2737d7ba4fc4, resolves the issue.
Risk and Exploitability
The vulnerability has a CVSS score of 6.9, denoting moderate severity, and there is no EPSS score available. It is not listed in CISA’s KEV catalog. The attack can be launched remotely, and the exploit is publicly available, meaning an attacker could readily target exposed deployments of this component.
OpenCVE Enrichment