Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to CowAgent instance
-
DeliverySubmit crafted internal URL as vision image argument
-
Exploit_build_image_content issues unvalidated HTTP request
-
ExecutionServer connects to internal network target (e.g., metadata service or internal API)
-
ImpactInternal service response returned to attacker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid authenticated session with the CowAgent instance (CVSS 4.0 PR:L). The attacker must be able to invoke the Vision Tool and supply a URL as the image argument - this is standard functionality within the application, not a non-default configuration. Exploitation is limited to network-reachable services from the CowAgent server's perspective, and cloud metadata endpoints are the highest-risk targets. Mitigation factors include: authentication requirement (PR:L - unauthenticated exploitation not indicated), limited confidentiality/integrity impact per CVSS (VC:L/VI:L), and scope limited to the vulnerable system's network position (SC:N/SI:N/SA:N in CVSS 4.0). No special deployment mode or feature flag is required beyond having the Vision Tool enabled, which appears to be a standard component of CowAgent. |
| Impact | The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L) yields a score of 5.3, reflecting low-complexity network-accessible exploitation requiring low privileges, with limited per-impact-category scores. PR:L confirms that exploitation requires an authenticated session - unauthenticated exploitation is not supported by the available data. The E:P threat metric confirms a public exploit exists, elevating practical risk above the base score alone. No EPSS score or KEV listing was provided in input data, so exploitation prevalence in the wild is unknown. The SSRF class impact is primarily internal network reconnaissance and potential pivoting to cloud metadata services (e.g., AWS IMDSv1 at 169.254.169.254), which can significantly exceed the 'low' impact ratings if the deployment runs in cloud environments without IMDSv2 enforcement. The attack complexity is genuinely low once authenticated, as no bypasses are required - the raw URL was passed directly to an HTTP fetch. This is a real priority for cloud-hosted CowAgent deployments; less critical in air-gapped or purely local deployments. |
| Exploit ScenarioDerived | An authenticated CowAgent user submits a Vision Tool request with the image parameter set to http://169.254.169.254/latest/meta-data/ (AWS metadata endpoint) or http://10.0.0.1/admin. The CowAgent server issues the HTTP request from its own network context, receives the response, and returns content accessible only from that server's network position to the attacker. A public proof-of-concept demonstrating this behavior is available at https://github.com/zhayujie/CowAgent/issues/2878. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 14, 2026
Server-side request forgery in zhayujie CowAgent's Vision Tool allows authenticated remote attackers to make the server issue arbitrary HTTP requests to internal network resources. The vulnerability exists in the Vision._download_to_data_url / _build_image_content function in agent/tools/vision/vision.py, where the image argument is passed to an HTTP fetch without URL validation, enabling access to private RFC1918 addresses, loopback interfaces, and other non-public infrastructure. A publicly available proof-of-concept exploit exists (GitHub issue #2878), and a vendor-released patch (version 2.1.2) is available.
RemediationAI
The primary fix is upgrading to CowAgent version 2.1.2, which is confirmed available via the vendor GitHub release at https://github.com/zhayujie/CowAgent/releases/tag/2.1.2 (patch commit e85290cddcbb5ffc9c235927f4c92e5b4c3ec264, PR https://github.com/zhayujie/CowAgent/pull/2886). If immediate upgrade is not possible, operators should restrict the network egress of the CowAgent host using firewall rules to block outbound connections to RFC1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback (127.0.0.0/8), and link-local (169.254.0.0/16) addresses - this directly limits SSRF blast radius but does not eliminate the vulnerability itself. For cloud deployments, enforcing IMDSv2 on AWS EC2 (or equivalent on GCP/Azure) removes the cloud metadata pivoting risk. Restricting access to the Vision Tool feature or requiring stricter authentication scopes for image-processing endpoints are additional compensating controls worth evaluating, noting these may break legitimate functionality.
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 a WeChat-integrated AI agent framework (CPE: cpe:2.3:a:zhayujie:chatgpt-on-wechat_cowagent:*:*:*:*:*:*:*:*) that exposes a Vision Tool for processing images. The affected function _build_image_content in agent/tools/vision/vision.py accepted a caller-supplied URL string and issued an outbound HTTP request without validating the destination against allowlists or blocking private address ranges, fulfilling CWE-918 (Server-Side Request Forgery). The patch (commit e85290cddcbb5ffc9c235927f4c92e5b4c3ec264) adds a _validate_url_safe static method that enforces http/https scheme, resolves the hostname via socket.getaddrinfo, and rejects any resolved IP that is private, loopback, link-local, or reserved using Python's ipaddress module. The same PR also addresses a path traversal weakness in agent/skills/service.py via a new _safe_skill_dir helper using os.path.realpath boundary checks.
Know when Chatgpt On Wechat Cowagent gets its next vulnerability
- 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:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-accessible SSRF requiring low-privilege auth (PR:L per CVSS 4.0); scope unchanged; limited C/I/A consistent with SSRF without confirmed data exfiltration primitives.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A security flaw has been discovered in zhayujie chatgpt-on-wechat CowAgent up to 2.1.1. This issue affects the function Vision._download_to_data_url of the file agent/tools/vision/vision.py of the component Vision Tool. Performing a manipulation of the argument image results in server-side request forgery. It is possible to initiate the attack remotely. The exploit has been released to the public and may be used for attacks. Upgrading to version 2.1.2 is capable of addressing this issue. The patch is named e85290cddcbb5ffc9c235927f4c92e5b4c3ec264. The affected component should be upgraded.
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
More in Chatgpt On Wechat Cowagent
View allMissing authentication in CowAgent 2.1.0's /wx WeChat endpoint allows remote unauthenticated attackers to bypass server
Authentication bypass in zhayujie chatgpt-on-wechat CowAgent up to version 2.0.4 allows remote unauthenticated attackers
Missing authentication in zhayujie chatgpt-on-wechat CowAgent 2.0.4 administrative HTTP endpoint allows remote attackers
Path traversal in zhayujie chatgpt-on-wechat CowAgent up to version 2.0.4 allows unauthenticated remote attackers to rea
EUVD-2026-43617
GHSA-76cc-739m-wwpv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB