Vulnerability · Published Apr 10, 2026 · Assigned by VulDB
CVE-2026-5998zhayujie chatgpt-on-wechat CowAgent API Memory Content Endpoint service.py dispatch path traversal
Medium 5.3
In plain English
A medium-severity path traversal in chatgpt-on-wechat CowAgent from zhayujie. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| zhayujie | chatgpt-on-wechat CowAgent | 2.0.02.0.12.0.22.0.32.0.4 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C
References
- VDB-356552 | zhayujie chatgpt-on-wechat CowAgent API Memory Content Endpoint service.py dispatch path traversal vdb-entry, technical-description
- VDB-356552 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #793558 | zhayujie chatgpt-on-wechat (CowAgent) 2.0.4 Path Traversal Leading to Arbitrary File Read third-party-advisory
- https://github.com/zhayujie/chatgpt-on-wechat/issues/2734 issue-tracking
- https://github.com/zhayujie/chatgpt-on-wechat/issues/2734#issue-4178013778 exploit, issue-tracking
- https://github.com/zhayujie/chatgpt-on-wechat/commit/174ee0cafc9e8e9d97a23c305418251485b8aa89 patch
- https://github.com/zhayujie/chatgpt-on-wechat/releases/tag/2.0.5 patch