Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Affecting metagpt package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.41% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-METAGPT-16318393
  • published28 Apr 2026
  • disclosed12 Apr 2026
  • creditYLChen-007 Edward-x

Introduced: 12 Apr 2026

CVE-2026-6110  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

metagpt is a The Multi-Agent Framework

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') via the generate_thoughts function in the Tree-of-Thought Solver component. An attacker can execute arbitrary code by supplying crafted input that is evaluated within the function.

CVSS Base Scores

version 4.0
version 3.1