CVE-2026-5971
MEDIUM 5.5CVSS 4.0FoundationAgents MetaGPT vulnerable to eval injection
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.
- Published
- 9 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Analyzed
- Weakness
- CWE-94
- Also known as
- GHSA-3ghp-8r47-4gj4PYSEC-2026-2638
- Sources
- NVDJSONOSV GHSA-3ghp-8r47-4gj4JSONOSV PYSEC-2026-2638JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | MEDIUM 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | PyPA | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | deepwisdom | metagptcpe:2.3:a:deepwisdom:metagpt:*:*:*:*:*:*:*:* |
<= 0.8.1 | |
| OSV | PyPI | metagpt | <= 0.8.1 |
References
- https://github.com/FoundationAgents/MetaGPT/ · Product, PACKAGE
- https://github.com/FoundationAgents/MetaGPT/issues/1928 · Exploit, Issue Tracking, WEB
- https://github.com/FoundationAgents/MetaGPT/issues/1956 · Issue Tracking, WEB
- https://vuldb.com/submit/791734 · Exploit, Third Party Advisory, VDB Entry, WEB
- https://vuldb.com/vuln/356525 · Third Party Advisory, VDB Entry, WEB
- https://vuldb.com/vuln/356525/cti · Permissions Required, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-5971 · ADVISORY
- https://pypi.org/project/metagpt · PACKAGE
- https://github.com/advisories/GHSA-3ghp-8r47-4gj4 · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 9 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Apr 2026)