CVE-2026-5972: A vulnerability has been found in FoundationAgents MetaGPT up to 0.8.1
CVE-2026-5972 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 has been found in FoundationAgents MetaGPT up to 0.8.1. This issue affects the function Terminal.run_command in the library metagpt/tools/libs/terminal.py. The manipulation leads to os command injection. Remote exploitation of the attack is possible. The exploit has been disclosed to the public and may be used. The identifier of the patch is d04ffc8dc67903e8b327f78ec121df5e190ffc7b. Applying a patch is the recommended action to fi
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-5972?
metagpt: upgrade to newer than 0.8.1. Exact commands for each OS are on this page.
Is CVE-2026-5972 being exploited?
CVE-2026-5972 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-5972 affect?
CVE-2026-5972 affects metagpt. Severity is high (CVSS 7.3). A vulnerability has been found in FoundationAgents MetaGPT up to 0.8.1. This issue affects the function Terminal.run_command in the library metagpt/tools/libs/terminal.py. The manipulation leads to os command injection. Remote exploitation
How urgent is CVE-2026-5972?
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-5974 HIGH 7.3 UPGRADE A vulnerability was determined 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