Skip to content
Heist/ feed
Back to feed
Medium

zhayujie chatgpt-on-wechat Bash Tool bash.py _get_safety_warning os command injection

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-10214
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 05:56 UTC · Revision 1

Source evidence

zhayujie chatgpt-on-wechat Bash Tool bash.py _get_safety_warning os command injection

core-osv · Original source

Published 1 Jun 2026, 02:00 UTC

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.

osv:CVE-2026-10214
Complete source record
{
  "id": "5ebf7df2a79745bc7bbb72af37982aad2dd9a47a121ab24c219cca7270b40332",
  "url": "https://osv.dev/vulnerability/CVE-2026-10214",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "zhayujie chatgpt-on-wechat Bash Tool bash.py _get_safety_warning os command injection",
    "summary": "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.",
    "evidence": "osv:CVE-2026-10214",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-10214",
      "aliases": [
        "CVE-2026-10214"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/zhayujie/cowagent",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ce63de3c58910ce637577733c1a673e4e0ec55cb"
                },
                {
                  "fixed": "16d9b449c9aa53ccee44144a762a2737d7ba4fc4"
                },
                {
                  "fixed": "069bffa3e8f076a0cd0dd29fa473c42a777ad06b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "last_affected": "2.0.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.0.1"
                      },
                      {
                        "last_affected": "2.0.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.0.2"
                      },
                      {
                        "last_affected": "2.0.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.0.3"
                      },
                      {
                        "last_affected": "2.0.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.0.4"
                      },
                      {
                        "last_affected": "2.0.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.0.5"
                      },
                      {
                        "last_affected": "2.0.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.0.6"
                      },
                      {
                        "last_affected": "2.0.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.0.7"
                      },
                      {
                        "last_affected": "2.0.7"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.0.8"
                      },
                      {
                        "last_affected": "2.0.8"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "16d9b449c9aa53ccee44144a762a2737d7ba4fc4"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "069bffa3e8f076a0cd0dd29fa473c42a777ad06b"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "2.0.9"
                  }
                ]
              }
            }
          ],
          "versions": [
            "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"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-10214.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.214759415Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/10xxx/CVE-2026-10214.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-10214",
        "https://vuldb.com/cve/CVE-2026-10214",
        "https://vuldb.com/submit/821929",
        "https://vuldb.com/vuln/367493",
        "https://github.com/zhayujie/CowAgent/issues/2803",
        "https://vuldb.com/vuln/367493/cti",
        "https://github.com/zhayujie/CowAgent/commit/16d9b449c9aa53ccee44144a762a2737d7ba4fc4",
        "https://github.com/zhayujie/CowAgent/releases/tag/2.0.9"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-77",
          "CWE-78"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/10xxx/CVE-2026-10214.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-10214",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510878,
  "published_at": "2026-06-01T02:00:11.274+00:00"
}