Skip to main content
CVE-2026-0761VulnerabilityPublished

CVE-2026-0761: Foundation Agents MetaGPT · Code Injection

Affects Foundation Agents MetaGPTSource CVE Database V5

0

Not known to be exploited · CVSS 9.8 Critical.

Data as of 26 Oct 2026, 07:57 UTC

CVSS 3.0 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
2.5% chance of exploitation in 30 days – higher than 84% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
Foundation AgentsMetaGPTAffected
  • =0.8.1
Fixed in–
PyPImetagptpkg:pypi/metagptOther threatsAffected
  • =0.8.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2026-0761 effectively, European organizations should: 1) Immediately restrict network exposure of MetaGPT instances by implementing firewall rules and network segmentation to limit access to trusted hosts only. 2) Employ strict input validation and sanitization at the application layer to prevent malicious strings from being processed by the vulnerable function. 3) Monitor logs and network traffic for unusual patterns indicative of code injection attempts or unauthorized execution. 4) If possible, disable or isolate the actionoutput_str_to_mapping function until a vendor patch is available. 5) Engage with Foundation Agents for updates or patches and apply them promptly once released. 6) Conduct internal code reviews and security assessments on AI automation components to identify similar unsafe coding practices. 7) Implement endpoint detection and response (EDR) solutions to detect anomalous behavior stemming from exploitation. 8) Train development and security teams on secure coding practices related to dynamic code execution. These targeted measures go beyond generic advice by focusing on network controls, input validation, and proactive monitoring specific to this vulnerability's characteristics.

Description

CVE-2026-0761 is a critical remote code execution vulnerability in Foundation Agents MetaGPT version 0.8.1. It stems from improper validation of user-supplied input in the actionoutput_str_to_mapping function, allowing unauthenticated attackers to execute arbitrary Python code. Exploitation requires no authentication or user interaction and can compromise confidentiality, integrity, and availability of affected systems. The vulnerability has a CVSS score of 9.8, indicating critical severity. Although no known exploits are currently in the wild, the flaw poses a significant risk to organizations running this software. European organizations using MetaGPT should prioritize patching or mitigating this issue. Countries with higher adoption of AI and automation tools, such as Germany, France, and the UK, are more likely to be impacted.

References

Community reviews

Loading reviews…