Description
A vulnerability was identified in zhayujie CowAgent up to 2.1.0. The affected element is the function _add_url/_add_package of the file agent/skills/service.py of the component Skill Installation Handler. The manipulation of the argument Name leads to path traversal. The attack may be initiated remotely. Upgrading to version 2.1.2 is sufficient to fix this issue. The identifier of the patch is e85290cddcbb5ffc9c235927f4c92e5b4c3ec264. It is advisable to upgrade the affected component.
Problem types
Product status
2.1.0
2.1.2
Timeline
| 2026-07-09: | Advisory disclosed |
| 2026-07-09: | VulDB entry created |
| 2026-07-09: | VulDB entry last update |
Credits
Eric-x (VulDB User)
References
github.com/zhayujie/CowAgent/issues/2873
vuldb.com/vuln/377274 (VDB-377274 | zhayujie CowAgent Skill Installation service.py _add_package path traversal)
vuldb.com/vuln/377274/cti (VDB-377274 | CTI Indicators (IOB, IOC, TTP, IOA))
vuldb.com/cve/CVE-2026-15331 (CVE-2026-15331 | CVE Analysis and Report)
vuldb.com/submit/853104 (Submit #853104 | zhayujie CowAgent <= 2.1.0 Improper Limitation of a Pathname to a Restricted Directory (CWE-22))
github.com/zhayujie/CowAgent/issues/2873
github.com/zhayujie/CowAgent/pull/2886
github.com/...ommit/e85290cddcbb5ffc9c235927f4c92e5b4c3ec264
github.com/zhayujie/CowAgent/releases/tag/2.1.2
github.com/zhayujie/CowAgent/