Skip to main content

Chatgpt On Wechat Cowagent CVE-2026-5998

| EUVDEUVD-2026-21277 MEDIUM
Path Traversal (CWE-22)
2026-04-10 VulDB GHSA-m63g-rhjw-f2v6
5.5
CVSS 4.0 · Vendor: VulDB
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS score of 5.3 with vector AV:N/AC:L/PR:N/UI:N reflects a network-exploitable vulnerability with low attack complexity requiring no privileges or user interaction, but impact is limited to confidentiality (C:L). The EPSS modifier 'E:P' (PoC/Exploit Published) elevates practical exploitation risk beyond the base score. The RL:O (Official Fix) rating indicates vendor has addressed the issue responsibly. While CVSS confidentiality impact is marked as low, the ability to read arbitrary files (including configuration files, API keys, or sensitive data stored on disk) in a ChatGPT integration tool could have significant real-world consequences depending on deployment context. The presence of a published exploit and responsive vendor patching suggests this is a legitimate priority for organizations running vulnerable versions, though the inability to modify or delete files (I:N, A:N) limits severity compared to write-based path traversals.

Exploit ScenarioDerived

An unauthenticated remote attacker can craft a request to the API Memory Content Endpoint with a malicious filename parameter containing path traversal sequences (e.g., ../../../../etc/passwd or an absolute path). The vulnerable dispatch function fails to validate the filename input, allowing the attacker to read arbitrary files accessible to the application process, such as configuration files containing API keys, environment variables, or application source code. A publicly available exploit demonstrates this attack and may be adopted by malicious actors to compromise systems running vulnerable versions.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 10, 2026

Path traversal in zhayujie chatgpt-on-wechat CowAgent up to version 2.0.4 allows unauthenticated remote attackers to read arbitrary files via the filename parameter in the API Memory Content Endpoint (agent/memory/service.py). The vulnerability has a publicly available exploit, carries a moderate CVSS score of 5.3 reflecting limited confidentiality impact, and has been patched by the vendor in version 2.0.5 with patch commit 174ee0cafc9e8e9d97a23c305418251485b8aa89.

RemediationAI

Vendor-released patch: upgrade to version 2.0.5 or later, which is available at https://github.com/zhayujie/chatgpt-on-wechat/releases/tag/2.0.5. The specific patch commit is 174ee0cafc9e8e9d97a23c305418251485b8aa89. Organizations should immediately update their CowAgent deployment to the patched version to remediate the path traversal vulnerability. No workarounds are documented; patching is the primary mitigation path. The vendor has responded professionally and expedited the fix release.

Affected VersionsENISA

chatgpt-on-wechat CowAgent 2.0.4
chatgpt-on-wechat CowAgent 2.0.2
chatgpt-on-wechat CowAgent 2.0.3
chatgpt-on-wechat CowAgent 2.0.0
chatgpt-on-wechat CowAgent 2.0.1

Affected Packages

euvd chatgpt_on_wechat_cowagent no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the API Memory Content Endpoint of the CowAgent component, specifically in the file agent/memory/service.py. The root cause is improper input validation on the filename parameter during the dispatch function, enabling CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) exploitation. An attacker can inject path traversal sequences (such as ../ or absolute paths) into the filename argument to escape the intended directory boundary and access files outside the application's designated memory storage location. This is a classic path traversal attack against a REST API endpoint that performs file operations without sanitizing user-supplied path components.

Know when Chatgpt On Wechat Cowagent gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 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

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
PoC Detected
Apr 10, 2026 - 02:16 vuln.today
Public exploit code
Patch released
Apr 10, 2026 - 01:45 nvd
Patch available
CVE Published
Apr 10, 2026 - 01:30 nvd
MEDIUM 5.5

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 85% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy