Skip to content
MediumVulnerabilityLLM-specific

GHSA-xr7v-m9px-q4qj: MetaGPT has an eval injection in metagpt/strategy/tot.py

Published
Record updated
View JSON
Affected
  • metagpt <= 0.8.2
Fixed in
No fixed version was stated when the source was last read.

Summary

A vulnerability in FoundationAgents MetaGPT up to 0.8.2 lets an attacker inject code through the generate_thoughts function in metagpt/strategy/tot.py, part of the Tree-of-Thought Solver component. The attack can be launched remotely, and a public exploit is available. The project was notified through an issue report but has not yet responded.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.