# CVE-2026-16194: zhayujie CowAgent SSRF in web_fetch tool

Source: https://junglewise.ai/threats/cve-2026-16194-zhayujie-cowagent-ssrf-in-web-fetch-tool  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-18. Updated: 2026-07-18  
License: CC BY 4.0 with a link back

CVE-2026-16194 · Severity: medium · CVSS 6.3 · Published 2026-07-18

CowAgent is an AI assistant that can perform tasks and use tools like web browsing. A security flaw in its web-fetching tool allows the AI (or someone influencing it via prompt injection) to access internal network resources, such as private company servers or cloud metadata services. This could lead to the exposure of sensitive internal data or unauthorized access to local infrastructure. Users should upgrade to version 2.1.2 to resolve this issue.

Technologies: [Zhayujie CowAgent](https://junglewise.ai/threats/technologies/cowagent). Vendors: [Zhayujie](https://junglewise.ai/threats/vendors/zhayujie).

## Quick answers

**Is CVE-2026-16194 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-16194 being exploited in the wild.

**How severe is CVE-2026-16194?** Medium severity, with a CVSS score of 6.3, published 18 July 2026.

**Which products and versions are affected?** Zhayujie CowAgent up to 2.1.1.

**Is there a fix for CVE-2026-16194?** A patch was published on 2026-06-17: Patch ea47f3097eed4f8295c4cb3d76ecb97e0f43d632 committed Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-16194 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-16194?** 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 Server-Side Request Forgery (SSRF) vulnerability exists in CowAgent's 'web_fetch' tool within the WebFetch.execute function in agent/tools/web_fetch/web_fetch.py. The component failed to validate model-supplied URLs, allowing requests to loopback addresses (127.0.0.1), RFC1918 private networks, and cloud metadata endpoints (169.254.169.254). Additionally, the tool followed HTTP redirects without re-validating the target, enabling attackers to bypass initial checks via a 302 redirect from a public to a private address. An attacker can exploit this via remote network access, potentially through prompt injection, to exfiltrate internal service data. The issue is fixed in version 2.1.2 by implementing a shared URL safety validator and manual redirect following with hop-by-hop validation.

## Affected products

- zhayujie CowAgent up to 2.1.1

## Timeline

- 2026-06-17: patched: Patch ea47f3097eed4f8295c4cb3d76ecb97e0f43d632 committed
- 2026-07-18: disclosed: CVE-2026-16194 published

## References

- [https://github.com/zhayujie/CowAgent/](https://github.com/zhayujie/CowAgent/)
- [https://github.com/zhayujie/CowAgent/commit/ea47f3097eed4f8295c4cb3d76ecb97e0f43d632](https://github.com/zhayujie/CowAgent/commit/ea47f3097eed4f8295c4cb3d76ecb97e0f43d632)
- [https://github.com/zhayujie/CowAgent/issues/2889](https://github.com/zhayujie/CowAgent/issues/2889)
- [https://github.com/zhayujie/CowAgent/pull/2900](https://github.com/zhayujie/CowAgent/pull/2900)
- [https://github.com/zhayujie/CowAgent/releases/tag/2.1.2](https://github.com/zhayujie/CowAgent/releases/tag/2.1.2)
- [https://vuldb.com/cve/CVE-2026-16194](https://vuldb.com/cve/CVE-2026-16194)
- [https://vuldb.com/submit/857620](https://vuldb.com/submit/857620)

## Related threats

- [zhayujie CowAgent denial of service in Markdown rendering](https://junglewise.ai/threats/cve-2026-108769-a-security-flaw-has-been-discovered-in-zhayujie-cowagent-up-to-2)
- [zhayujie CowAgent resource exhaustion in tool-call argument parsing](https://junglewise.ai/threats/cve-2026-108768-a-vulnerability-was-identified-in-zhayujie-cowagent-up-to-2-2-0)
- [zhayujie CowAgent uncontrolled memory allocation in media download](https://junglewise.ai/threats/cve-2026-108683-a-security-vulnerability-has-been-detected-in-zhayujie-cowagent)
- [zhayujie CowAgent denial of service in /upload endpoint](https://junglewise.ai/threats/cve-2026-108682-a-weakness-has-been-identified-in-zhayujie-cowagent-up-to-2-1-6)
- [zhayujie CowAgent denial of service in Web Console](https://junglewise.ai/threats/cve-2026-108681-a-security-flaw-has-been-discovered-in-zhayujie-cowagent-up-to-2)
