zhayujie chatgpt-on-wechat CowAgent up to 2.0.4 API Memory Content Endpoint agent/memory/service.py dispatch filename path traversal

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.8$0-$5k2.31

Summaryinfo

A vulnerability classified as critical was found in zhayujie chatgpt-on-wechat CowAgent up to 2.0.4. This impacts the function dispatch of the file agent/memory/service.py of the component API Memory Content Endpoint. Such manipulation of the argument filename leads to path traversal. This vulnerability is uniquely identified as CVE-2026-5998. The attack can be launched remotely. Moreover, an exploit is present. Upgrading the affected component is advised. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

Detailsinfo

A vulnerability was found in zhayujie chatgpt-on-wechat CowAgent up to 2.0.4. It has been rated as critical. Affected by this issue is the function dispatch of the file agent/memory/service.py of the component API Memory Content Endpoint. The manipulation of the argument filename with an unknown input leads to a path traversal vulnerability. Using CWE to declare the problem leads to CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. Impacted is confidentiality.

The advisory is shared for download at github.com. This vulnerability is handled as CVE-2026-5998. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1006.

The exploit is available at github.com. It is declared as proof-of-concept. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

Upgrading to version 2.0.5 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 174ee0cafc9e8e9d97a23c305418251485b8aa89 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 4.8

VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Path traversal
CWE: CWE-22
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: chatgpt-on-wechat CowAgent 2.0.5
Patch: 174ee0cafc9e8e9d97a23c305418251485b8aa89

Timelineinfo

04/09/2026 Advisory disclosed
04/09/2026 +0 days VulDB entry created
04/09/2026 +0 days VulDB entry last update

Sourcesinfo

Advisory: 2734
Status: Confirmed

CVE: CVE-2026-5998 (🔒)
GCVE (CVE): GCVE-0-2026-5998
GCVE (VulDB): GCVE-100-356552
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 04/09/2026 15:02
Changes: 04/09/2026 15:02 (65)
Complete: 🔍
Submitter: Yu_Bao
Cache ID: 216:674:103

Submitinfo

Accepted

  • Submit #793558: zhayujie chatgpt-on-wechat (CowAgent) 2.0.4 Path Traversal Leading to Arbitrary File Read (by Yu_Bao)

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!