Improper Neutralization of Special Elements used in a Command ('Command Injection')
CVE-2026-5974
Summary
A vulnerability was determined in FoundationAgents MetaGPT . 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.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- NONE
- HIGH
- HIGH
CWE-77 - Command Injection
A command injection attack involves injecting an operating system command through the data input, which gets executed on the host operating system with the privileges of the victimized application. The impact of a command injection attack may range from loss of data confidentiality and integrity to unauthorized remote access to the hosting system. The attack may cause serious data breaches and system takeover.
References
Advisory Timeline
- Published