{"id":"CVE-2026-5998","aliases":["CVE-2026-5998"],"related":[],"kind":"vulnerability","state":"published","title":"zhayujie chatgpt-on-wechat CowAgent API Memory Content Endpoint service.py dispatch path traversal","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se ha encontrado una vulnerabilidad en zhayujie chatgpt-on-wechat CowAgent hasta la versión 2.0.4. Esto afecta a la función dispatch del archivo agent/memory/service.py del componente API Memory Content Endpoint. Esta manipulación del argumento filename provoca salto de ruta. El ataque puede iniciarse de forma remota. El exploit ha sido publicado y puede ser utilizado. La actualización a la versión 2.0.5 mitiga este problema. Nombre del parche: 174ee0cafc9e8e9d97a23c305418251485b8aa89. Se recomienda actualizar el componente afectado. Se contactó al proveedor con antelación, respondió de manera muy profesional y lanzó rápidamente una versión corregida del producto afectado.","source":"nvd"}],"published":"2026-04-10T01:30:17.358Z","modified":"2026-10-26T22:10:00.163Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N/E:POC/RL:OF/RC:C","score":5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"2.0.0","status":"affected"},{"version":"2.0.1","status":"affected"},{"version":"2.0.2","status":"affected"},{"version":"2.0.3","status":"affected"},{"version":"2.0.4","status":"affected"},{"version":"2.0.5","status":"unaffected"}],"vendor":"zhayujie","product":"chatgpt-on-wechat CowAgent","source":"cvelist"}],"references":[{"url":"https://vuldb.com/vuln/356552","tags":["technical-description","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/vuln/356552/cti","tags":["permissions-required","signature"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/submit/793558","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/zhayujie/chatgpt-on-wechat/issues/2734","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/zhayujie/chatgpt-on-wechat/issues/2734#issue-4178013778","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/zhayujie/chatgpt-on-wechat/commit/174ee0cafc9e8e9d97a23c305418251485b8aa89","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/zhayujie/chatgpt-on-wechat/releases/tag/2.0.5","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Yu_Bao (VulDB User)","VulDB CNA Team"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-04-10T15:50:12.472Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-5998","url":"https://www.cve.org/CVERecord?id=CVE-2026-5998","licence":"CVE Terms of Use","modified":"2026-04-10T15:54:44.452Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-5998","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5998","licence":"Public domain","modified":"2026-10-26T22:10:00.163Z"}],"updatedAt":"2026-11-25T22:59:18.474Z","epss":{"score":0.00659,"percentile":0.52811,"date":"2026-12-01T12:00:22.000Z"}}