# CVE-2026-5998 — zhayujie chatgpt-on-wechat CowAgent

> As of 2026-04-10, CVE-2026-5998 is a MEDIUM-severity vulnerability in zhayujie chatgpt-on-wechat CowAgent, CVSS v3.1 5.3, EPSS 0.6% (51.6th percentile). Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2026-5998, most recently “ChatGPT File Download Flow Path Traversal / Local File Inclusion (LFI) via Guardrail Bypass Social Engineering”.

**Last updated:** 2026-04-10

## What is CVE-2026-5998?

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.

The record classifies CVE-2026-5998 under weakness class [CWE-22](https://intel.threadlinqs.com/cwe/CWE-22). Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 202 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 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`)
- **CVSS v4.0 base score:** 6.9 (`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`)
- **EPSS (FIRST):** 0.6% probability of exploitation in the next 30 days, higher than 51.6% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 6.7/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2026-04-10

## Is CVE-2026-5998 being exploited?

Weaponised exploit code for CVE-2026-5998 is publicly available. 1 public proof-of-concept repository is tracked for this identifier. It currently carries a trending score of 26 in the Threadlinqs vulnerability feed.

- [trickest/cve](https://github.com/trickest/cve/blob/main/2026/CVE-2026-5998.md) (trickest)

## Affected products and versions

- **zhayujie**: chatgpt-on-wechat CowAgent

## How to fix CVE-2026-5998

No vendor patch reference has been recorded for CVE-2026-5998 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.

## Threat activity tracking CVE-2026-5998

1 tracked threat in the Threadlinqs corpus references CVE-2026-5998, either in the campaign’s CVE list or as an indicator on the campaign record.

- [ChatGPT File Download Flow Path Traversal / Local File Inclusion (LFI) via Guardrail Bypass Social Engineering](https://intel.threadlinqs.com/threat/TL-2026-1075) — MEDIUM · 2026-07-02

## Sources

Enriched from CVE.org, NVD, FIRST EPSS, public proof-of-concept repositories. Last verified by Threadlinqs on 2026-10-10. This product uses the NVD API but is not endorsed or certified by the NVD.

**Vendor advisory and patch**

- [github.com — patch](https://github.com/zhayujie/chatgpt-on-wechat/commit/174ee0cafc9e8e9d97a23c305418251485b8aa89)
- [github.com — patch (2.0)](https://github.com/zhayujie/chatgpt-on-wechat/releases/tag/2.0.5)

**Exploit and proof of concept**

- [github.com — exploit](https://github.com/zhayujie/chatgpt-on-wechat/issues/2734#issue-4178013778)

**Technical analysis**

- [vuldb.com — vdb entry](https://vuldb.com/vuln/356552)

**Third-party advisory**

- [vuldb.com — signature](https://vuldb.com/vuln/356552/cti)
- [vuldb.com — third party advisory](https://vuldb.com/submit/793558)

**Issue tracking and product pages**

- [github.com — issue tracking](https://github.com/zhayujie/chatgpt-on-wechat/issues/2734)

Canonical: https://intel.threadlinqs.com/cve/CVE-2026-5998
Full detection coverage and IOCs for threats exploiting CVE-2026-5998 via the Threadlinqs MCP server (Purple tier): https://intel.threadlinqs.com/mcp
