Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-5972: A vulnerability has been found in FoundationAgents MetaGPT up to 0.8.1

57
This week
HIGH 7.3REMOTEUPGRADE

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.

Risk facts

CVSS score7.3 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance2.6% (top 15%)
CISA exploited listNo
WeaknessCWE-77, CWE-78
Published2026-04-09
Last modified2026-10-26
Publisher (CNA): VulDB · Vendor: deepwisdom

Share: LinkedIn · X · Reddit

Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

deepwisdom metagpt UPGRADE
Affected: <= 0.8.1
Fixed in: newer than 0.8.1
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy metagpt || rpm -q metagpt || metagpt --version
2. UPGRADE to newer than 0.8.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade metagpt
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade metagpt
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Exact fixes by distribution

Python (pip) · metagpt · FIXED · 0.8.2 · vulnerable: <= 0.8.1 · source
pip install --upgrade "metagpt>=0.8.2" pip show metagpt
Fedora ELN · openbao · FIXED · 2.6.5-1.eln159 · FEDORA-2026-77adf886ae · source
sudo dnf upgrade --advisory=FEDORA-2026-77adf886ae
Fedora 46 · sugar-turtleart · FIXED · 220-16.fc46 · FEDORA-2026-b79483c788 · source
sudo dnf upgrade --advisory=FEDORA-2026-b79483c788

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.