CVE-2026-0761

CRITICAL LAB

Foundation Agents MetaGPT - Code Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-0761. PoCs published by exploitintel.

AI-analyzed exploit summary This repository contains functional exploit code for CVE-2026-0761, demonstrating unauthenticated remote code execution (RCE) in MetaGPT via `eval()` injection and insecure deserialization. The PoCs include three distinct attack vectors, all confirmed to work in a containerized lab environment.

Description

Foundation Agents MetaGPT actionoutput_str_to_mapping Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foundation Agents MetaGPT. Authentication is not required to exploit this vulnerability. The specific flaw exists within the actionoutput_str_to_mapping function. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-28124.

Exploits (1)

github WORKING POC 1 stars
by exploitintel · pythonpoc
https://github.com/exploitintel/eip-pocs-and-cves/tree/main/CVE-2026-0761

This repository contains functional exploit code for CVE-2026-0761, demonstrating unauthenticated remote code execution (RCE) in MetaGPT via `eval()` injection and insecure deserialization. The PoCs include three distinct attack vectors, all confirmed to work in a containerized lab environment.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: MetaGPT <= v0.8.2
No auth needed
Prerequisites: network access to vulnerable MetaGPT instance · ability to send crafted HTTP requests
devstral-2 · analyzed Mar 04, 2026 Full analysis →

References (1)

Core 1
Core References
Third Party Advisory x_research-advisory
https://www.zerodayinitiative.com/advisories/ZDI-26-027/

Scores

CVSS v3 9.8
EPSS 0.0152
EPSS Percentile 81.7%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Lab Environment

EIP LAB Lab screenshot
patched docker pull ghcr.io/exploitintel/cve-2026-0761-patched:latest
vulnerable docker pull ghcr.io/exploitintel/cve-2026-0761-vulnerable:latest

Details

CWE
CWE-94
Status published
Products (1)
deepwisdom/metagpt 0.8.1
Published Jan 23, 2026
Tracked Since Feb 18, 2026