CVE-2026-15331 zhayujie CowAgent Skill Installation service.py _add_package path traversal

Medium 5.3 Published Updated

Attackers can exploit path traversal in CowAgent's skill installation handler to read or modify arbitrary files remotely.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-15331?

CVE-2026-15331 is a medium-severity path traversal vulnerability in zhayujie CowAgent, published on 10 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-15331?

How do I fix CVE-2026-15331?

No fix has been published for CVE-2026-15331 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-15331 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-15331 exists.

Sources

Also known as GHSA-c3mj-x5cv-cphr.

Is CVE-2026-15331 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free