Skip to main content

Metagpt EUVDEUVD-2026-21694

| CVE-2026-6109 LOW
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-04-12 VulDB GHSA-w287-wwhf-95vv
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Attacker crafts malicious web page
  2. Delivery
    User visits page while authenticated to MetaGPT
  3. Exploit
    Browser sends forged CSRF request to Mineflayer API
  4. Execution
    evaluateCode function processes request without token validation
  5. Impact
    Attacker-controlled code executes with user privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

While the CVSS score of 4.3 indicates low severity, the risk assessment reveals a middle-ground real-world priority. The attack vector is network-based and requires no authentication (PR:N), but does require user interaction (UI:R), which moderately constrains exploitation. The integrity impact is limited (I:L) with no confidentiality or availability impact. The CVSS vector includes E:P (Exploit code Maturity: Proof-of-Concept), confirming publicly available exploit code. SSVC signals suggest this is automatable (network attack) with low technical impact (integrity only), but the lack of vendor response and active exploit disclosure elevate monitoring importance. This is not a critical infrastructure threat but warrants timely patching for organizations running MetaGPT in environments where CSRF attacks are viable.

Exploit ScenarioDerived

An attacker creates a malicious website containing JavaScript that submits a forged request to the MetaGPT Mineflayer HTTP API evaluateCode endpoint. When a user visiting the attacker's site has an active MetaGPT session, the browser automatically includes session cookies, causing the forged request to execute. The attacker-controlled code is evaluated within the Mineflayer context, allowing unauthorized actions such as modifying Minecraft game state or executing arbitrary operations. Publicly available exploit code demonstrates this attack pattern.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 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

Cross-site request forgery in FoundationAgents MetaGPT through version 0.8.1 allows unauthenticated remote attackers to perform unauthorized actions via the evaluateCode function in the Mineflayer HTTP API component. The vulnerability requires user interaction (UI:R) and has limited integrity impact, but publicly available exploit code exists and the vendor has not yet responded to early notification.

RemediationAI

Upgrade FoundationAgents MetaGPT to a version released after 0.8.1 once available. At the time of analysis, no vendor-released patch version has been independently confirmed, as the project has not yet responded to the early vulnerability report. In the interim, organizations should implement CSRF token validation and same-origin policy enforcement at the HTTP API level, restrict access to the Mineflayer API endpoint to trusted internal networks only, and educate users to avoid visiting untrusted websites while interacting with MetaGPT services. Monitor https://github.com/FoundationAgents/MetaGPT/issues/1932 for vendor updates and patch releases.

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 Mineflayer HTTP API integration within MetaGPT's Minecraft environment module (metagpt/environment/minecraft/mineflayer/index.js). Mineflayer is a JavaScript library that enables programmatic control of Minecraft clients. The evaluateCode function fails to implement proper CSRF protection mechanisms (CWE-352: Cross-Site Request Forgery), allowing attackers to craft malicious web requests that execute arbitrary code evaluation when a user visits an attacker-controlled page while authenticated to or interacting with the MetaGPT service. The root cause is the absence of token validation and same-origin policy enforcement on state-changing operations.

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:N/UI:P/VC:N/VI:L/VA:N/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
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
PoC Detected
Apr 29, 2026 - 18:46 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 - 02:22 NVD
4.3 (MEDIUM) 5.3 (MEDIUM)
CVE Published
Apr 12, 2026 - 01:30 nvd
LOW 2.1

DescriptionCVE.org

A vulnerability was determined in FoundationAgents MetaGPT up to 0.8.1. The impacted element is the function evaluateCode of the file metagpt/environment/minecraft/mineflayer/index.js of the component Mineflayer HTTP API. Executing a manipulation can lead to cross-site request forgery. The attack may be performed from remote. The exploit has been publicly disclosed and may be utilized. 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 100% 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 No
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

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

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