CVE-2026-5998 Details
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.
A path traversal vulnerability has been identified in zhayujie chatgpt-on-wechat CowAgent versions through 2.0.4. The issue resides in the API Memory Content Endpoint, specifically within the function dispatch of the file agent/memory/service.py. The vulnerability allows an unauthenticated attacker to manipulate the filename parameter, bypassing path restrictions and accessing arbitrary files on the server. Exploitation can be performed remotely, and the vulnerability has been publicly disclosed along with a proof-of-concept exploit.
Upgrade to version 2.0.5, which addresses the path traversal vulnerability by implementing proper path validation and sanitization. The updated version is available on the zhayujie chatgpt-on-wechat GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 10, 2026CISA-ADP
Assessed Apr 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/zhayujie/chatgpt-on-wechat/commit/174ee0cafc9e8e9d97a23c305418251485b8aa89 | [email protected] | Source CodeVendor |
| https://github.com/zhayujie/chatgpt-on-wechat/issues/2734 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/zhayujie/chatgpt-on-wechat/issues/2734#issue-4178013778 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/zhayujie/chatgpt-on-wechat/releases/tag/2.0.5 | [email protected] | Release NotesVendor |
| https://vuldb.com/submit/793558 | [email protected] | Technical Description |
| https://vuldb.com/vuln/356552 | [email protected] | AdvisoryExploitRemedy |
| https://vuldb.com/vuln/356552/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| zhayujie chatgpt-on-wechat CowAgent | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 10, 2026 | New CVE Received | [email protected] |
Volerion