Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/zhayujie/chatgpt-on-wechat/commit/174ee0cafc9e8e9d97a23c30541
- 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
FAQ
What is CVE-2026-5998?
CVE-2026-5998 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 mani...
How severe is CVE-2026-5998?
CVE-2026-5998 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-5998?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.