CVE-2026-11455: FoundationAgents MetaGPT common.py check_cmd_exists command injection

Published Jun 7, 2026
·
Updated

A vulnerability was determined in FoundationAgents MetaGPT up to 0.8.2. Affected by this issue is the function checkcmdexists 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 Software

1 affected component
pypi/metagpt<=0.8.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Remove

    Remove FoundationAgents MetaGPT from your environment.

    If the component is not required, uninstall or remove MetaGPT (or the vulnerable module) until a patch is released.

  2. Configuration

    Do not allow untrusted input into mermaid.path. Validate or sanitize the value, or set mermaid.path to a fixed safe path so check_cmd_exists is never invoked with user-controlled data to prevent command injection.

    FoundationAgents MetaGPT mermaid.path = fixed or sanitized
  3. Compensating control

    Restrict network exposure to systems running MetaGPT: apply firewall rules, WAF protections, and limit access to trusted IPs or networks until an upstream fix is available.

  4. Operational

    Audit and monitor logs for signs of exploitation targeting check_cmd_exists (suspicious command execution or attempts to set mermaid.path). Investigate and perform incident response if compromise is suspected, and apply vendor fixes when they become available.

Event History

Jun 7, 2026
CVE Published
via MITRE·07:00 AM
Data Sourced
via MITRE·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-11455?

The severity of CVE-2026-11455 is assessed as medium.

2

How do I fix CVE-2026-11455?

To fix CVE-2026-11455, update FoundationAgents MetaGPT to version 0.8.3 or later.

3

What type of vulnerability is CVE-2026-11455?

CVE-2026-11455 is a command injection vulnerability.

4

Can CVE-2026-11455 be exploited remotely?

Yes, CVE-2026-11455 can be exploited remotely.

5

Which function is affected by CVE-2026-11455?

The function affected by CVE-2026-11455 is check_cmd_exists in metagpt/utils/common.py.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203