CVE-2026-15332: zhayujie CowAgent missing authorization in Message Endpoint

CVE-2026-15332 · Severity: medium · CVSS 6.3 · Published 2026-07-10

CowAgent, an AI assistant and agent framework, contains a security flaw that allows users to execute unauthorized commands on the host system. By sending a specially crafted message through the web chat interface, a user can trigger the agent's built-in bash tool to run shell commands without any approval or authorization check. This could allow an attacker to modify files, access sensitive data, or disrupt the service with the same permissions as the application itself.

Technologies: Zhayujie CowAgent. Vendors: Zhayujie.

Quick answers

Is CVE-2026-15332 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-15332 being exploited in the wild.
How severe is CVE-2026-15332?
Medium severity, with a CVSS score of 6.3, published 10 July 2026.
Which products and versions are affected?
Zhayujie CowAgent <= 2.1.0.
Is there a fix for CVE-2026-15332?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-15332 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-15332?
Check whether you run Zhayujie CowAgent at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A missing authorization vulnerability exists in CowAgent up to version 2.1.0 within the Message Endpoint component (specifically channel/channel.py). The application enables agent mode by default and lacks a central runtime approval gate for high-impact tools. When a user sends a message via the 'POST /message' interface, the agent runtime (AgentStreamExecutor) can be influenced to select and execute the built-in 'bash' tool. Because the bash tool only performs minimal safety checks and uses 'subprocess.run' with 'shell=True', an authenticated remote attacker can achieve arbitrary command execution with the privileges of the CowAgent process. As of the advisory date, no patch has been released by the maintainers.

Affected products

  • zhayujie CowAgent <= 2.1.0

Timeline

  • 2026-07-10: disclosed: Initial publication of the vulnerability details.

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.