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.
Published: 2026-07-10
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the _add_url/_add_package functions of CowAgent's Skill Installation Handler. By manipulating the Name argument, an attacker can perform path traversal, allowing the reading or writing of files outside the intended directory. This can enable placement of malicious files or corruption of critical data, potentially providing a foothold for further compromise or denial of service. The flaw alone does not the application runs with elevated privileges.

Affected Systems

All releases of CowAgent up to version 2.1.0, including the 2.1.0 baseline, are affected. The issue was fixed in release 2.1.2 via commit e85290cddcbb5ffc9c235927f4c92e5b4c3ec264, which removes the insecure handling of the Name parameter in service.py. Users running any earlier version should upgrade promptly.

Risk and Exploitability

The CVSS base score of 5.3 reflects moderate severity. The EPSS score is less than 1%, and the vulnerability is not listed in CISA's KEV catalog, indicating low to moderate exploitation likelihood. The attack vector is invoke the Skill Installation API via its exposed interface. While the flaw alone does not provide code execution, it enables arbitrary file operations that could be used to drop scripts or overwrite executables if the process runs with elevated privileges, providing a potential escalation pathway.

Generated by OpenCVE AI on July 26, 2026 at 14:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade CowAgent to version 2.1.2 or later85290cddcbb5ffc9c235927f4c92e5b4c3ec264.
  • If an upgrade cannot be performed, restrict the Skill Installation API to trusted users or internal networks and enforce authentication.
  • Validate and sanitize the Name parameter before using it to construct file paths, ensuring that no absolute or relative paths escape the intended directory.

Generated by OpenCVE AI on July 26, 2026 at 14:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 10 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
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.
Title zhayujie CowAgent Skill Installation service.py _add_package path traversal
First Time appeared Zhayujie
Zhayujie cowagent
Weaknesses CWE-22
CPEs cpe:2.3:a:zhayujie:cowagent:*:*:*:*:*:*:*:*
Vendors & Products Zhayujie
Zhayujie cowagent
References
Metrics cvssV2_0

{'score': 5.5, 'vector': 'AV:N/AC:L/Au:S/C:N/I:P/A:P/E:ND/RL:OF/RC:C'}

cvssV3_0

{'score': 5.4, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:X/RL:O/RC:C'}

cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:X/RL:O/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X'}


Subscriptions

Zhayujie Cowagent
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-10T14:26:46.944Z

Reserved: 2026-07-09T18:37:47.214Z

Link: CVE-2026-15331

cve-icon Vulnrichment

Updated: 2026-07-10T14:26:42.635Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T14:15:18Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')