VDB
Sign up
HIGH7.3

PYSEC-2026-2641

FoundationAgents MetaGPT vulnerable to OS Command Injection in metagpt/utils/common.py

Details

A vulnerability was found in FoundationAgents MetaGPT up to 0.8.1. Impacted is the function get_mime_type of the file metagpt/utils/common.py. The manipulation results in os command injection. The attack can be executed remotely. The exploit has been made public and could be used. The project was informed of the problem early through a pull request but has not reacted yet.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/metagpt
Introduced in: 0

No fixed version published yet for metagpt (pip). Pin to a known-safe version or switch to an alternative.

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/metagpt"]}'