Description
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.
Published: 2026-04-12
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Server‑Side Request Forgery
Action: Patch
AI Analysis

Impact

The flaw resides in MetaGPT's decode_image function. By supplying a crafted URL or base64 string, an attacker can force the server to send requests to arbitrary destinations. The bug can be triggered remotely and the public exploit code is available, indicating that it may be actively abused. The weakness is a classic SSRF (CWE‑918) that could allow an attacker to perform internal network reconnaissance or further compromise.

Affected Systems

FoundationAgents MetaGPT versions up to 0.8.1 are affected. No other versions were identified in the CNA data; if deploying MetaGPT 0.8.1 or earlier, users should seek updates.

Risk and Exploitability

With a CVSS score of 5.3 the vulnerability is moderate. No EPSS score or KEV listing is available. The vulnerability can be exploited over the network without authentication if the decode_image endpoint is exposed. Attackers can use the public exploit to trigger SSRF immediately. Mitigation relies on patching or restricting outbound traffic.

Generated by OpenCVE AI on April 12, 2026 at 03:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply any available patch or update to MetaGPT that removes or secures the decode_image function.
  • Restrict the server hosting MetaGPT so that outbound requests made by the application are limited to trusted domains or IP ranges.
  • If an immediate patch is unavailable, isolate the MetaGPT instance from internal network resources or disable the endpoint until remediation.

Generated by OpenCVE AI on April 12, 2026 at 03:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-r5v8-c28h-f8r8 MetaGPT affected by server-side request forgery in metagpt/utils/common.py
History

Thu, 30 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Deepwisdom
Deepwisdom metagpt
CPEs cpe:2.3:a:deepwisdom:metagpt:0.8.0:*:*:*:*:*:*:*
cpe:2.3:a:deepwisdom:metagpt:0.8.1:*:*:*:*:*:*:*
Vendors & Products Deepwisdom
Deepwisdom metagpt

Mon, 13 Apr 2026 13:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 13 Apr 2026 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Foundation Agents
Foundation Agents metagpt
Vendors & Products Foundation Agents
Foundation Agents metagpt

Sun, 12 Apr 2026 02:45:00 +0000

Type Values Removed Values Added
Description 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.
Title FoundationAgents MetaGPT common.py decode_image server-side request forgery
Weaknesses CWE-918
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, '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'}

cvssV4_0

{'score': 5.3, 'vector': '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'}


Subscriptions

Deepwisdom Metagpt
Foundation Agents Metagpt
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-04-13T12:19:44.261Z

Reserved: 2026-04-11T07:49:35.517Z

Link: CVE-2026-6111

cve-icon Vulnrichment

Updated: 2026-04-13T12:19:34.891Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-12T03:16:08.827

Modified: 2026-04-30T14:49:31.170

Link: CVE-2026-6111

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-13T12:56:24Z

Weaknesses