CVE-2026-5971 json
FoundationAgents MetaGPT XML action_node.py ActionNode.xml_fill eval injection
published 7mo ago modified 16d ago also GHSA-3ghp-8r47-4gj4 , PYSEC-2026-2638 , EUVD-2026-21004
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 34%
- public exploits
- 0
- none known
Summary
A flaw has been found in FoundationAgents MetaGPT up to 0.8.1. This vulnerability affects the function ActionNode.xml_fill of the file metagpt/actions/action_node.py of the component XML Handler. Executing a manipulation can lead to improper neutralization of directives in dynamically evaluated code. The attack may be launched remotely. The exploit has been published and may be used. The project was informed of the problem early through a pull request but has not reacted yet.
Is CVE-2026-5971 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 6mo ago
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/FoundationAgents/MetaGPT/issues/1928 referenced PoC, tagged "exploit" by a source, unverified
- vuldb.com https://vuldb.com/submit/791734 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| CNA | 3.0 | 7.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| CNA | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
| CNA | 4.0 | 5.5 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| OSV | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | metagpt | <=0.8.1 |
no fix listed |
Affected products
- FoundationAgents MetaGPT
Classification
References
-
github.com
/FoundationAgents/MetaGPT/issues/1928
exploit, issue-tracking, web
-
vuldb.com
/submit/791734
third-party-advisory, web, exploit, vdb-entry
-
vuldb.com
/vuln/356525
vdb-entry, technical-description, web, third-party-advisory
-
vuldb.com
/vuln/356525/cti
signature, permissions-required, web, vdb-entry
-
github.com
/FoundationAgents/MetaGPT/issues/1956
issue-tracking, web
-
github.com
/FoundationAgents/MetaGPT/
product
-
nvd.nist.gov
/vuln/detail/CVE-2026-5971
advisory
-
github.com
/FoundationAgents/MetaGPT
package
-
pypi.org
/project/metagpt
package
-
github.com
/advisories/GHSA-3ghp-8r47-4gj4
advisory
Sources
- CVE List CVE-2026-5971
- GitHub Advisory GHSA-3ghp-8r47-4gj4
- NVD CVE-2026-5971
- OSV PYSEC-2026-2638
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.