Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain authenticated credentials or session
-
DeliveryCraft malicious img_url_or_b64 parameter pointing to internal resource
-
ExploitSubmit request to image processing endpoint
-
ExecutionServer issues SSRF request to attacker-controlled target
-
ImpactExfiltrate sensitive data or enumerate internal services
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. |
| Impact | The CVSS v3.1 vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R yields a moderate score of 6.3. The vector signals that exploitation requires low privileges (PR:L), meaning the attacker must already be authenticated to the MetaGPT instance, which significantly reduces opportunistic attack surface compared to unauthenticated SSRF flaws. The attack vector is network-based with low complexity, indicating no special conditions or user interaction are needed once authenticated. The evidence code (E:P) confirms publicly available exploit code exists, elevating practical risk despite the moderate CVSS score. The lack of formal patch release date (RL:X) and reasonable confidence (RC:R) suggests the fix is available but adoption may lag. In a typical SSVC framework, this would be classified as vulnerable because exploitation is functional (evidenced by public POC), but the authentication barrier and scoped impact (S:U = no privilege escalation beyond the application) temper urgency compared to unauthenticated SSRF vulnerabilities. Organizations running MetaGPT with untrusted users or exposed API endpoints face higher risk; isolated internal deployments face lower immediate risk if user base is trusted. |
| Exploit ScenarioDerived | An authenticated user with access to a MetaGPT API endpoint that processes images submits a request containing an img_url_or_b64 parameter set to a URL targeting an internal service, such as http://localhost:6379 (Redis) or http://169.254.169.254/latest/meta-data (AWS metadata endpoint). The decode_image function fails to validate the URL, causing the MetaGPT application server to issue an HTTP request to that internal resource. The attacker receives the response, potentially exfiltrating sensitive configuration, credentials, or service availability data. Publicly available exploit code (referenced in GitHub issue #1934) demonstrates this attack method, making it straightforward for attackers to weaponize once they obtain authenticated access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 12, 2026
Server-side request forgery (SSRF) in FoundationAgents MetaGPT up to version 0.8.1 allows authenticated remote attackers to conduct arbitrary requests via manipulation of the img_url_or_b64 parameter in the decode_image function of metagpt/utils/common.py. Publicly available exploit code exists, and a vendor patch has been released. The vulnerability carries a CVSS score of 6.3 with low confidentiality, integrity, and availability impact, but requires low-level authentication to exploit.
RemediationAI
Upgrade FoundationAgents MetaGPT to a version released after the publication of patch PR#1941 (https://github.com/FoundationAgents/MetaGPT/pull/1941), which addresses input validation of the img_url_or_b64 parameter in the decode_image function. The vendor has confirmed patch availability; check the official MetaGPT repository releases page for the first patched version following 0.8.1. As an interim mitigation, restrict network access from the MetaGPT application server to only necessary external endpoints, implement URL allowlisting for image fetching operations if feasible, and limit authenticated user access to image processing features to trusted users only. Review application logs for suspicious img_url_or_b64 parameter values or unexpected outbound requests to internal IP ranges or non-standard ports.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the image decoding utility function within MetaGPT, an open-source framework for building multi-agent systems. The decode_image function in metagpt/utils/common.py fails to properly validate or sanitize the img_url_or_b64 input parameter before using it to fetch remote resources. This allows an attacker with authenticated access to supply crafted URLs pointing to internal services, file:// URIs, or other sensitive resources, causing the MetaGPT application server to issue unintended HTTP requests on behalf of the attacker. The root cause is classified under CWE-918 (Server-Side Request Forgery), which encompasses improper input validation on user-controlled URLs used in server-initiated requests. The CPE cpe:2.3:a:foundationagents:metagpt:*:*:*:*:*:*:*:* indicates all versions up to and including 0.8.1 are affected.
Know when Metagpt 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
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
6DescriptionCVE.org
A security flaw has been discovered in FoundationAgents MetaGPT up to 0.8.1. This impacts the function decode_image of the file metagpt/utils/common.py. The manipulation of the argument img_url_or_b64 results in server-side request forgery. It is possible to launch the attack remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
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.
Related Vulnerabilities in FoundationAgents MetaGPT Multiple Vulnerabilities
View all 3MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell met
MetaGPT has a code injection vulnerability in actionoutput_str_to_mapping (EPSS 2.6%) allowing remote attackers to execu
MetaGPT by Foundation Agents has an insecure deserialization in deserialize_message (EPSS 1.7%) enabling remote code exe
Remote command injection in FoundationAgents MetaGPT versions 0.8.0 and 0.8.1 via the get_mime_type function in metagpt/
Remote code execution in FoundationAgents MetaGPT up to version 0.8.1 allows unauthenticated attackers to execute arbitr
Remote code injection in FoundationAgents MetaGPT up to version 0.8.1 allows unauthenticated attackers to execute arbitr
Code injection in FoundationAgents MetaGPT versions up to 0.8.1 allows unauthenticated remote attackers to execute arbit
Remote command injection in FoundationAgents MetaGPT versions up to 0.8.1 allows unauthenticated network attackers to ex
A code injection vulnerability exists in Foundation Agents MetaGPT up to version 0.8.1, specifically in the DataInterpre
A code injection vulnerability exists in Foundation Agents MetaGPT versions up to 0.8.1 within the code_generate functio
EUVD-2026-21698
GHSA-r5v8-c28h-f8r8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB