CVE-2026-5974: A vulnerability was determined in FoundationAgents MetaGPT up to 0.8.1
CVE-2026-5974 is a high-severity flaw (CVSS 7.3) affecting metagpt. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-5974?
metagpt: upgrade to newer than 0.8.1. Exact commands for each OS are on this page.
Is CVE-2026-5974 being exploited?
CVE-2026-5974 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-5974 affect?
CVE-2026-5974 affects metagpt. Severity is high (CVSS 7.3). 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
How urgent is CVE-2026-5974?
Priority 57/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-6111 MEDIUM 6.3 DOWNGRADE A security flaw has been discovered in FoundationAgents MetaGPT up to 0.8.1
- CVE-2026-6109 MEDIUM 4.3 UPGRADE A vulnerability was determined in FoundationAgents MetaGPT up to 0.8.1
- CVE-2026-5972 HIGH 7.3 UPGRADE A vulnerability has been found in FoundationAgents MetaGPT up to 0.8.1
- CVE-2026-5970 HIGH 7.3 UPGRADE A vulnerability was detected in FoundationAgents MetaGPT up to 0.8.1
- CVE-2026-5971 HIGH 7.3 UPGRADE A flaw has been found in FoundationAgents MetaGPT up to 0.8.1