CVE-2026-5998
Severity CVSS v4.0:
MEDIUM
Type:
CWE-22
Path Traversal
Publication date:
10/04/2026
Last modified:
10/04/2026
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.
Impact
Base Score 4.0
5.50
Severity 4.0
MEDIUM
Base Score 3.x
5.30
Severity 3.x
MEDIUM
Base Score 2.0
5.00
Severity 2.0
MEDIUM
References to Advisories, Solutions, and Tools
- https://github.com/zhayujie/chatgpt-on-wechat/commit/174ee0cafc9e8e9d97a23c305418251485b8aa89
- 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/releases/tag/2.0.5
- https://vuldb.com/submit/793558
- https://vuldb.com/vuln/356552
- https://vuldb.com/vuln/356552/cti



