Skip to main content

Metagpt EUVDEUVD-2026-21698

| CVE-2026-6111 LOW
Server-Side Request Forgery (SSRF) (CWE-918)
2026-04-12 VulDB GHSA-r5v8-c28h-f8r8
2.1
CVSS 4.0 · NVD

Severity by source

NVD PRIMARY
2.1 LOW
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

9
PoC Detected
Apr 30, 2026 - 14:49 vuln.today
Public exploit code
Severity Changed
Apr 29, 2026 - 01:11 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:11 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVSS changed
Apr 12, 2026 - 03:22 NVD
6.3 (MEDIUM) 5.3 (MEDIUM)
Analysis Generated
Apr 12, 2026 - 02:49 vuln.today
EUVD ID Assigned
Apr 12, 2026 - 02:45 euvd
EUVD-2026-21698
Analysis Generated
Apr 12, 2026 - 02:45 vuln.today
Patch released
Apr 12, 2026 - 02:45 nvd
Patch available
CVE Published
Apr 12, 2026 - 02:30 nvd
LOW 2.1

DescriptionCVE.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.

AnalysisAI

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.

Technical ContextAI

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.

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.

CVE-2024-23750 HIGH POC
8.8 Jan 22

MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell met

CVE-2026-0761 CRITICAL
9.8 Jan 23

MetaGPT has a code injection vulnerability in actionoutput_str_to_mapping (EPSS 2.6%) allowing remote attackers to execu

CVE-2026-0760 CRITICAL
9.8 Jan 23

MetaGPT by Foundation Agents has an insecure deserialization in deserialize_message (EPSS 1.7%) enabling remote code exe

CVE-2026-5973 MEDIUM POC
5.5 Apr 09

Remote command injection in FoundationAgents MetaGPT versions 0.8.0 and 0.8.1 via the get_mime_type function in metagpt/

CVE-2026-5972 MEDIUM POC
5.5 Apr 09

Remote code execution in FoundationAgents MetaGPT up to version 0.8.1 allows unauthenticated attackers to execute arbitr

CVE-2026-6110 MEDIUM POC
5.5 Apr 12

Code injection in FoundationAgents MetaGPT versions up to 0.8.1 allows unauthenticated remote attackers to execute arbit

CVE-2026-5971 MEDIUM POC
5.5 Apr 09

Remote code injection in FoundationAgents MetaGPT up to version 0.8.1 allows unauthenticated attackers to execute arbitr

CVE-2026-5970 MEDIUM POC
5.5 Apr 09

Code injection in FoundationAgents MetaGPT versions up to 0.8.1 allows unauthenticated remote attackers to execute arbit

CVE-2026-5974 MEDIUM
6.9 Apr 09

Remote command injection in FoundationAgents MetaGPT versions up to 0.8.1 allows unauthenticated network attackers to ex

CVE-2026-4516 LOW POC
2.1 Mar 21

A code injection vulnerability exists in Foundation Agents MetaGPT up to version 0.8.1, specifically in the DataInterpre

CVE-2026-4515 LOW POC
2.1 Mar 21

A code injection vulnerability exists in Foundation Agents MetaGPT versions up to 0.8.1 within the code_generate functio

CVE-2026-6109 LOW POC
2.1 Apr 12

Cross-site request forgery in FoundationAgents MetaGPT through version 0.8.1 allows unauthenticated remote attackers to

Share

EUVD-2026-21698 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy