CVE-2026-5998zhayujie chatgpt-on-wechat CowAgent API Memory Content Endpoint service.py dispatch path…
A flaw has been found in zhayujie chatgpt-on-wechat CowAgent up to 2.0.4. This affects the function dispatch of the file agent/memory/service.py of the component API Memory Content Endpoint. This manipulation of the argument filename causes path traversal. The attack can be initiated remotely. The exploit has been published and may be used. Upgrading to version 2.0.5 mitigates this issue. Patch name: 174ee0cafc9e8e9d97a23c305418251485b8aa89. It is recommended to upgrade the affected component. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- zhayujie chatgpt-on-wechat CowAgent: affected: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5 not affected
Vendor advisories:
- https://github.com/zhayujie/chatgpt-on-wechat/commit/174ee0cafc9e8e9d97a23c305418251485b8… (patch)
- https://github.com/zhayujie/chatgpt-on-wechat/releases/tag/2.0.5 (patch)
References
- https://vuldb.com/vuln/356552
- https://vuldb.com/vuln/356552/cti
- https://vuldb.com/submit/793558
- https://github.com/zhayujie/chatgpt-on-wechat/issues/2734
- https://github.com/zhayujie/chatgpt-on-wechat/issues/2734#issue-4178013778
- https://github.com/zhayujie/chatgpt-on-wechat/commit/174ee0cafc9e8e9d97a23c305418251485b8aa89
- https://github.com/zhayujie/chatgpt-on-wechat/releases/tag/2.0.5
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.