CVE-2026-5974 PUBLISHED

FoundationAgents MetaGPT terminal.py Bash.run os command injection

Assigner: VulDB
Reserved: 09.04.2026 Published: 09.04.2026 Updated: 09.04.2026

A vulnerability was determined in FoundationAgents MetaGPT up to 0.8.1. The affected element is the function Bash.run in the library metagpt/tools/libs/terminal.py. This manipulation causes os command injection. The attack is possible to be carried out remotely. The project was informed of the problem early through a pull request but has not reacted yet.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X
CVSS Score: 6.9

Product Status

Vendor FoundationAgents
Product MetaGPT
Versions
  • Version 0.8.0 is affected
  • Version 0.8.1 is affected

Credits

  • Eric-d (VulDB User) reporter
  • VulDB CNA Team coordinator

References

Problem Types

  • OS Command Injection CWE
  • Command Injection CWE