CVE-2026-5998

Summary

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.

Affected Software

VendorProductVersion RangeStatus
zhayujiechatgpt-on-wechat CowAgent2.0.0affected
zhayujiechatgpt-on-wechat CowAgent2.0.1affected
zhayujiechatgpt-on-wechat CowAgent2.0.2affected
zhayujiechatgpt-on-wechat CowAgent2.0.3affected
zhayujiechatgpt-on-wechat CowAgent2.0.4affected
zhayujiechatgpt-on-wechat CowAgent2.0.5unaffected

Weaknesses

  • CWE-22: Path Traversal

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: yes
    • Technical Impact: partial

References