Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege CowAgent account
-
DeliveryCall skill installation API endpoint
-
ExploitSupply crafted Name with path traversal sequences
-
ExecutionUnsanitized path written outside skills directory
-
PersistWrite attacker-controlled file to sensitive OS location
-
ImpactLeverage written file for persistence or privilege escalation
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to possess a valid low-privilege account on the CowAgent instance, as confirmed by PR:L in the CVSS 4.0 vector. The attacker must be able to invoke the Skill Installation Handler - specifically the |
| Impact | The CVSS 4.0 base score of 5.3 (Medium) reflects network accessibility (AV:N), low attack complexity (AC:L), low-privilege authentication requirement (PR:L), and limited integrity and availability impact (VI:L, VA:L) with no confidentiality exposure (VC:N) and no lateral impact on subsequent systems (SC/SI/SA:N). The authentication prerequisite (PR:L) is the primary real-world constraint: exploitation is not possible by unauthenticated actors, significantly reducing the attack surface compared to a PR:N flaw. No EPSS score is provided in the available data, so exploitation probability cannot be quantified numerically. No CISA KEV listing exists and no public proof-of-concept exploit has been identified at time of analysis. CWE-22 is a well-understood class that can be chained for persistence or privilege escalation when the process runs with elevated OS permissions, but standalone impact is bounded by VI:L and VA:L. Risk is most relevant in multi-tenant or SaaS-style CowAgent deployments where untrusted low-privilege users can access the skill installation API; risk is substantially lower where skill installation is restricted to administrators. |
| Exploit ScenarioDerived | An attacker with a valid low-privilege CowAgent account submits a skill installation request to the API endpoint backed by |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 10, 2026
Path traversal in zhayujie CowAgent versions up to 2.1.0 allows remote low-privilege authenticated attackers to write files outside the intended skill installation directory by manipulating the Name argument in the Skill Installation Handler. The flaw resides in the _add_url and _add_package functions within agent/skills/service.py, which fail to sanitize path components before constructing filesystem paths during skill installation. No public exploit or active exploitation confirmed (no CISA KEV listing); a vendor-released patch exists in version 2.1.2.
RemediationAI
Upgrade CowAgent to version 2.1.2 or later, which is confirmed by the vendor via the GitHub release at https://github.com/zhayujie/CowAgent/releases/tag/2.1.2. The fix is implemented in commit e85290cddcbb5ffc9c235927f4c92e5b4c3ec264 (referenced in pull request https://github.com/zhayujie/CowAgent/pull/2886) and addresses unsafe path construction in the _add_url and _add_package functions. If an immediate upgrade is not possible, the most effective compensating control is to disable the external skill installation feature entirely if not required in your deployment - this eliminates the vulnerable code path at the cost of losing dynamic skill loading capability. Alternatively, restrict access to the Skill Installation Handler to trusted high-privilege administrators only, and apply OS-level filesystem containment (e.g., run CowAgent in a chroot jail or container with a read-only root filesystem and a narrowly scoped writable volume) to limit the directories the process can write to, reducing the blast radius of a successful traversal.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CowAgent is an open-source Python-based AI agent framework maintained by zhayujie that supports dynamic skill installation - allowing users to extend agent capabilities at runtime by loading new modules via URL or package name. The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). The _add_url and _add_package functions in agent/skills/service.py accept a user-supplied Name argument and use it to construct a target filesystem path without stripping or rejecting directory traversal sequences such as ../. This allows an attacker to escape the designated skills directory and write to arbitrary locations accessible by the process. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) confirms the attack is remotely reachable, requires no special conditions, and demands only low-level authentication - consistent with a web-accessible API endpoint gating skill installation behind a user account.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable skill installer requires low-privilege authentication (PR:L); path traversal enables limited out-of-bounds file writes (I:L) and potential disruption (A:L) with no confidentiality impact.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-42789
GHSA-c3mj-x5cv-cphr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB