CVE-2026-5972
CVE-2026-5972 is a high-severity vulnerability in Deepwisdom Metagpt with a CVSS 3.x base score of 7.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-77.
Key facts
- Severity: High (CVSS 3.x base score 7.3)
- CVSS v2: 7.5
- CVSS v4: 5.5
- EPSS exploit prediction: 2% (81st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-21049
- Weakness: CWE-77
- Affected product: Deepwisdom Metagpt
- Published:
- Last modified:
Description
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 fix this issue.
Frequently asked questions
- What is CVE-2026-5972?
- 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 fix this issue.
- How severe is CVE-2026-5972?
- CVE-2026-5972 has a CVSS 3.x base score of 7.3, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2026-5972 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (81st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-5972?
- CVE-2026-5972 affects Deepwisdom Metagpt. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-5972?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-5972 have an EU (EUVD) identifier?
- Yes. CVE-2026-5972 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-21049.
- When was CVE-2026-5972 published?
- CVE-2026-5972 was published on 2026-04-09 and last updated on 2026-06-17.
References
- https://github.com/FoundationAgents/MetaGPT/
- https://github.com/FoundationAgents/MetaGPT/issues/1929
- https://github.com/paipeline/MetaGPT/commit/d04ffc8dc67903e8b327f78ec121df5e190ffc7b
- https://vuldb.com/submit/791745
- https://vuldb.com/vuln/356526
- https://vuldb.com/vuln/356526/cti
Affected products (1)
- cpe:2.3:a:deepwisdom:metagpt:*:*:*:*:*:*:*:*
More vulnerabilities in Deepwisdom Metagpt
- CVE-2026-0761 — Critical (CVSS 9.8): Foundation Agents MetaGPT actionoutput_str_to_mapping Code Injection Remote Code Execution Vulnerability. This…
- CVE-2026-0760 — Critical (CVSS 9.8): Foundation Agents MetaGPT deserialize_message Deserialization of Untrusted Data Remote Code Execution Vulnerability.…
- CVE-2024-23750 — High (CVSS 8.8): MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell…
- CVE-2026-6110 — High (CVSS 7.3): A vulnerability was identified in FoundationAgents MetaGPT up to 0.8.1. This affects the function generate_thoughts of…
- CVE-2026-5974 — High (CVSS 7.3): A vulnerability was determined in FoundationAgents MetaGPT up to 0.8.1. The affected element is the function Bash.run…
- CVE-2026-5973 — High (CVSS 7.3): A vulnerability was found in FoundationAgents MetaGPT up to 0.8.1. Impacted is the function get_mime_type of the file…
All CVEs affecting Deepwisdom Metagpt →
Other CWE-77 (Command Injection) vulnerabilities
- CVE-2026-23652 — Critical (CVSS 10.0): Improper neutralization of special elements used in a command ('command injection') in Microsoft Power Pages allows an…
- CVE-2025-59818 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute arbitrary commands on the underlying system using the file…
- CVE-2025-64093 — Critical (CVSS 10.0): Remote Code Execution vulnerability that allows unauthenticated attackers to inject arbitrary commands into the…
- CVE-2025-64090 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute commands via the hostname of the device.
- CVE-2025-61492 — Critical (CVSS 10.0): A command injection vulnerability in the execute_command function of terminal-controller-mcp 0.1.7 allows attackers to…
- CVE-2025-10035 — Critical (CVSS 10.0): A deserialization vulnerability in the License Servlet of Fortra's GoAnywhere MFT allows an actor with a validly forged…