A vulnerability was determined in FoundationAgents MetaGPT up to 0.8.2. Affected by this issue is the function check_cmd_exists of the file metagpt/utils/common.py. This manipulation of the argument mermaid.path causes command injection. The attack may be initiated remotely. A high degree of complexity is needed for the attack. The exploitation is known to be difficult. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet.
PUBLISHED5.2ApplicationCWE-77CWE-74
FoundationAgents MetaGPT common.py check_cmd_exists command injection
Problem type
Affected products
FoundationAgents
MetaGPT
0.8.0 - AFFECTED
0.8.1 - AFFECTED
0.8.2 - AFFECTED
References
VDB-369074 | FoundationAgents MetaGPT common.py check_cmd_exists command injection
https://vuldb.com/vuln/369074
VDB-369074 | CTI Indicators (IOB, IOC, TTP, IOA)
https://vuldb.com/vuln/369074/cti
CVE-2026-11455 | CVE Analysis and Report
https://vuldb.com/cve/CVE-2026-11455
Submit #828206 | FoundationAgents MetaGPT 0.8.2 Command Injection
https://vuldb.com/submit/828206
github.com
https://github.com/FoundationAgents/MetaGPT/issues/2037
notion.so
https://www.notion.so/asuka39/MetaGPT-Command-Injection-via-Mermaid-path-Configuration-35fe35b8556880b29113c8c1b414a8b2?source=copy_link
github.com
https://github.com/FoundationAgents/MetaGPT/
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-11455Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-11455",
"assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"assignerShortName": "VulDB",
"dateUpdated": "2026-06-07T07:00:12.675Z",
"dateReserved": "2026-06-06T15:53:23.883Z",
"datePublished": "2026-06-07T07:00:12.675Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"shortName": "VulDB",
"dateUpdated": "2026-06-07T07:00:12.675Z"
},
"title": "FoundationAgents MetaGPT common.py check_cmd_exists command injection",
"descriptions": [
{
"lang": "en",
"value": "A vulnerability was determined in FoundationAgents MetaGPT up to 0.8.2. Affected by this issue is the function check_cmd_exists of the file metagpt/utils/common.py. This manipulation of the argument mermaid.path causes command injection. The attack may be initiated remotely. A high degree of complexity is needed for the attack. The exploitation is known to be difficult. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet."
}
],
"affected": [
{
"vendor": "FoundationAgents",
"product": "MetaGPT",
"cpes": [
"cpe:2.3:a:foundationagents:metagpt:*:*:*:*:*:*:*:*"
],
"versions": [
{
"version": "0.8.0",
"status": "affected"
},
{
"version": "0.8.1",
"status": "affected"
},
{
"version": "0.8.2",
"status": "affected"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "Command Injection",
"cweId": "CWE-77",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"lang": "en",
"description": "Injection",
"cweId": "CWE-74",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://vuldb.com/vuln/369074",
"name": "VDB-369074 | FoundationAgents MetaGPT common.py check_cmd_exists command injection",
"tags": [
"vdb-entry",
"technical-description"
]
},
{
"url": "https://vuldb.com/vuln/369074/cti",
"name": "VDB-369074 | CTI Indicators (IOB, IOC, TTP, IOA)",
"tags": [
"signature",
"permissions-required"
]
},
{
"url": "https://vuldb.com/cve/CVE-2026-11455",
"name": "CVE-2026-11455 | CVE Analysis and Report",
"tags": [
"third-party-advisory"
]
},
{
"url": "https://vuldb.com/submit/828206",
"name": "Submit #828206 | FoundationAgents MetaGPT 0.8.2 Command Injection",
"tags": [
"third-party-advisory"
]
},
{
"url": "https://github.com/FoundationAgents/MetaGPT/issues/2037",
"tags": [
"issue-tracking"
]
},
{
"url": "https://www.notion.so/asuka39/MetaGPT-Command-Injection-via-Mermaid-path-Configuration-35fe35b8556880b29113c8c1b414a8b2?source=copy_link",
"tags": [
"exploit"
]
},
{
"url": "https://github.com/FoundationAgents/MetaGPT/",
"tags": [
"product"
]
}
],
"metrics": [
{},
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R",
"baseScore": 5,
"baseSeverity": "MEDIUM"
}
},
{
"cvssV3_0": {
"version": "3.0",
"vectorString": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R",
"baseScore": 5,
"baseSeverity": "MEDIUM"
}
},
{
"cvssV2_0": {
"version": "2.0",
"vectorString": "AV:N/AC:H/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR",
"baseScore": 4.6
}
}
],
"timeline": [
{
"time": "2026-06-06T00:00:00.000Z",
"lang": "en",
"value": "Advisory disclosed"
},
{
"time": "2026-06-06T02:00:00.000Z",
"lang": "en",
"value": "VulDB entry created"
},
{
"time": "2026-06-06T18:00:47.000Z",
"lang": "en",
"value": "VulDB entry last update"
}
],
"credits": [
{
"lang": "en",
"value": "ASUKA39 (VulDB User)",
"type": "reporter"
},
{
"lang": "en",
"value": "VulDB CNA Team",
"type": "coordinator"
}
]
}
}
}