zhayujie chatgpt-on-wechat CowAgent API Memory Content Endpoint service.py dispatch path traversal
Summary
| CVE | CVE-2026-5998 |
|---|---|
| State | PUBLISHED |
| Assigner | VulDB |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-10 02:16:04 UTC |
| Updated | 2026-04-10 02:16:04 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 5.5 MEDIUM from [email protected]
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
EPSS: 0.000480000 probability, percentile 0.150460000 (date 2026-04-11)
Problem Types: CWE-22 | CWE-22 Path Traversal
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 5.5 | MEDIUM | 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/C... |
| 4.0 | CNA | DECLARED | 6.9 | MEDIUM | 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 |
| 3.1 | [email protected] | Primary | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| 3.1 | CNA | DECLARED | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C |
| 3.0 | CNA | DECLARED | 5.3 | MEDIUM | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C |
| 2.0 | [email protected] | Secondary | 5 | AV:N/AC:L/Au:N/C:P/I:N/A:N | |
| 2.0 | CNA | DECLARED | 5 | AV:N/AC:L/Au:N/C:P/I:N/A:N/E:POC/RL:OF/RC:C |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
NonePrivileges Required
NoneUser Interaction
NoneConfidentiality
LowIntegrity
NoneAvailability
NoneSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v3.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Zhayujie | Chatgpt-on-wechat CowAgent | affected 2.0.0 | Not specified |
| CNA | Zhayujie | Chatgpt-on-wechat CowAgent | affected 2.0.1 | Not specified |
| CNA | Zhayujie | Chatgpt-on-wechat CowAgent | affected 2.0.2 | Not specified |
| CNA | Zhayujie | Chatgpt-on-wechat CowAgent | affected 2.0.3 | Not specified |
| CNA | Zhayujie | Chatgpt-on-wechat CowAgent | affected 2.0.4 | Not specified |
| CNA | Zhayujie | Chatgpt-on-wechat CowAgent | unaffected 2.0.5 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/zhayujie/chatgpt-on-wechat/issues/2734 | [email protected] | github.com | |
| vuldb.com/vuln/356552/cti | [email protected] | vuldb.com | |
| github.com/zhayujie/chatgpt-on-wechat/commit/174ee0cafc9e8e9d97a23c30541... | [email protected] | github.com | |
| github.com/zhayujie/chatgpt-on-wechat/releases/tag/2.0.5 | [email protected] | github.com | |
| vuldb.com/vuln/356552 | [email protected] | vuldb.com | |
| vuldb.com/submit/793558 | [email protected] | vuldb.com | |
| github.com/zhayujie/chatgpt-on-wechat/issues/2734 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Yu_Bao (VulDB User) (en)
CNA: VulDB CNA Team (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-04-09T00:00:00.000Z | Advisory disclosed |
| CNA | 2026-04-09T02:00:00.000Z | VulDB entry created |
| CNA | 2026-04-09T15:02:29.000Z | VulDB entry last update |
There are currently no legacy QID mappings associated with this CVE.