Skip to main content

Metagpt CVE-2026-6111

| EUVDEUVD-2026-21698 LOW
Server-Side Request Forgery (SSRF) (CWE-918)
2026-04-12 VulDB GHSA-r5v8-c28h-f8r8
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain authenticated credentials or session
  2. Delivery
    Craft malicious img_url_or_b64 parameter pointing to internal resource
  3. Exploit
    Submit request to image processing endpoint
  4. Execution
    Server issues SSRF request to attacker-controlled target
  5. Impact
    Exfiltrate 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

MetaGPT 0.8.0
MetaGPT 0.8.1

Affected Packages

pypi metagpt no fix

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

Vendor (VulDB) 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

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

6
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)
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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 3
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-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

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