CVE-2026-5998
MEDIUMzhayujie chatgpt-on-wechat CowAgent API Memory Content Endpoint service.py dispatch path traversal
Title source: cnaDescription
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.
References (7)
Core 7
Core References
Vdb Entry, Technical Description vdb-entry
technical-description
VDB-356552 | zhayujie chatgpt-on-wechat CowAgent API Memory Content Endpoint service.py dispatch path traversal
https://vuldb.com/vuln/356552
Signature, Permissions Required signature
permissions-required
VDB-356552 | CTI Indicators (IOB, IOC, TTP, IOA)
https://vuldb.com/vuln/356552/cti
Third Party Advisory third-party-advisory
Submit #793558 | zhayujie chatgpt-on-wechat (CowAgent) 2.0.4 Path Traversal Leading to Arbitrary File Read
https://vuldb.com/submit/793558
Issue Tracking issue-tracking
https://github.com/zhayujie/chatgpt-on-wechat/issues/2734
Exploit exploit
issue-tracking
https://github.com/zhayujie/chatgpt-on-wechat/issues/2734#issue-4178013778
Scores
CVSS v3
5.3
EPSS
0.0063
EPSS Percentile
45.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (6)
zhayujie/chatgpt-on-wechat CowAgent
2.0.0
zhayujie/chatgpt-on-wechat CowAgent
2.0.1
zhayujie/chatgpt-on-wechat CowAgent
2.0.2
zhayujie/chatgpt-on-wechat CowAgent
2.0.3
zhayujie/chatgpt-on-wechat CowAgent
2.0.4
zhayujie/chatgpt-on-wechat CowAgent
2.0.5
Published
Apr 10, 2026
Tracked Since
Apr 10, 2026