CVE-2026-79408: An OS command injection vulnerability in MetaGPT 0.8.1 allows an attacker to execute arbitrary commands via...
An OS command injection vulnerability in MetaGPT 0.8.1 allows an attacker to execute arbitrary commands via the path argument of RepoParser.rebuild_class_views() in metagpt/repo_parser.py.
Security readout for executives and security teams
Plain-English summary
MetaGPT 0.8.1 reportedly passes a repository path into an operating-system command without adequate protection. If an attacker can control that path, they may run arbitrary commands with the MetaGPT process’s permissions, potentially stealing data, altering systems, or disrupting service.
Executive priority
Treat internet-facing or externally integrated MetaGPT 0.8.1 deployments as an immediate priority. Restrict affected workflows and privileges while confirming vendor remediation. Internal deployments remain urgent when untrusted repositories, uploads, or automation inputs can reach the vulnerable method.
Technical view
CVE-2026-79408 is a CWE-78 OS command injection in MetaGPT 0.8.1. The vulnerable input is the path argument of RepoParser.rebuild_class_views() in metagpt/repo_parser.py. The supplied CVSS 3.1 score is 9.8, reflecting network reachability, low complexity, no privileges, no user interaction, and high confidentiality, integrity, and availability impact.
Likely exposure
Exposure exists where MetaGPT 0.8.1 invokes rebuild_class_views() with a path influenced by an untrusted user, API request, uploaded project, automation pipeline, or external integration. Installation alone does not prove exploitability; input reachability and process permissions determine practical risk.
Exploitation context
The supplied record is not in KEV, and the source bundle provides no evidence of active exploitation. It references a public vulnerability write-up, so technical details may be available publicly. Whether exploitation is remotely achievable in a particular deployment depends on how applications expose the affected method and its path input.
Researcher notes
The bundle identifies MetaGPT 0.8.1 but its structured affected-product fields are unspecified, and it names no fixed version. Validate package identity, call-path reachability, shell invocation behavior, and trust boundaries locally. Avoid assuming every MetaGPT installation is remotely exploitable solely from the CVSS vector.
Mitigation direction
Identify and isolate deployments running MetaGPT 0.8.1.
Prevent untrusted input from reaching rebuild_class_views() or disable affected workflows.
Run MetaGPT with minimal filesystem, network, and operating-system privileges.
Check MetaGPT vendor or project guidance for a patched release or approved mitigation.
Prioritize replacement or upgrade once a verified fixed version is documented.
Validation and detection
Inventory MetaGPT installations and confirm exact installed versions.
Locate calls to RepoParser.rebuild_class_views() and map every path input source.
Determine whether remote users or integrations can influence the path argument.
Review process, audit, and application logs for unexpected child processes or commands.
After remediation, safely verify that maliciously structured paths cannot trigger command execution.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-78: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
2Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.