Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionCVE.org
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.
AnalysisAI
Path traversal in zhayujie chatgpt-on-wechat CowAgent up to version 2.0.4 allows unauthenticated remote attackers to read arbitrary files via the filename parameter in the API Memory Content Endpoint (agent/memory/service.py). The vulnerability has a publicly available exploit, carries a moderate CVSS score of 5.3 reflecting limited confidentiality impact, and has been patched by the vendor in version 2.0.5 with patch commit 174ee0cafc9e8e9d97a23c305418251485b8aa89.
Technical ContextAI
The vulnerability resides in the API Memory Content Endpoint of the CowAgent component, specifically in the file agent/memory/service.py. The root cause is improper input validation on the filename parameter during the dispatch function, enabling CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) exploitation. An attacker can inject path traversal sequences (such as ../ or absolute paths) into the filename argument to escape the intended directory boundary and access files outside the application's designated memory storage location. This is a classic path traversal attack against a REST API endpoint that performs file operations without sanitizing user-supplied path components.
RemediationAI
Vendor-released patch: upgrade to version 2.0.5 or later, which is available at https://github.com/zhayujie/chatgpt-on-wechat/releases/tag/2.0.5. The specific patch commit is 174ee0cafc9e8e9d97a23c305418251485b8aa89. Organizations should immediately update their CowAgent deployment to the patched version to remediate the path traversal vulnerability. No workarounds are documented; patching is the primary mitigation path. The vendor has responded professionally and expedited the fix release.
More in Chatgpt On Wechat Cowagent
View allMissing authentication in CowAgent 2.1.0's /wx WeChat endpoint allows remote unauthenticated attackers to bypass server
Authentication bypass in zhayujie chatgpt-on-wechat CowAgent up to version 2.0.4 allows remote unauthenticated attackers
Missing authentication in zhayujie chatgpt-on-wechat CowAgent 2.0.4 administrative HTTP endpoint allows remote attackers
Server-side request forgery in zhayujie CowAgent's Vision Tool allows authenticated remote attackers to make the server
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-21277
GHSA-m63g-rhjw-f2v6