CVE-2026-108768: zhayujie CowAgent resource exhaustion in tool-call argument parsing

CVE-2026-108768 · Severity: medium · CVSS 4.3 · Published 2026-10-11

CowAgent is an AI agent framework that processes function calls from language models. A denial-of-service vulnerability allows a malicious or compromised model provider to cause unbounded memory and CPU consumption by returning oversized tool-call arguments, making the service unavailable or unresponsive to legitimate requests.

Technologies: Zhayujie CowAgent. Vendors: Zhayujie.

Quick answers

Is CVE-2026-108768 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-108768 being exploited in the wild.
How severe is CVE-2026-108768?
Medium severity, with a CVSS score of 4.3, published 11 October 2026.
Which products and versions are affected?
Zhayujie CowAgent up to 2.2.0.
Is there a fix for CVE-2026-108768?
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-108768 attacked?
It is attacked over the network.
Am I affected by CVE-2026-108768?
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

The vulnerability is an uncontrolled resource consumption (CWE-400) in the streaming tool-call argument handler. When a model streams function arguments in chunks, agent/protocol/agent_stream.py accumulates the entire argument string without size limits before calling json.loads() and json_repair.repair_json(). A remote attacker controlling or compromising a model provider can inject arbitrarily large tool arguments over the network, causing unbounded memory allocation and CPU-intensive parsing operations.

Affected products

  • zhayujie CowAgent up to 2.2.0

Timeline

  • 2026-10-11: disclosed

References

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