CVE-2026-79407
Received Received - Intake

Path Traversal in MetaGPT SPO Extension

Vulnerability report for CVE-2026-79407, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-31

Last updated on: 2026-09-01

Assigner: MITRE

Description

A path traversal vulnerability in the SPO extension of MetaGPT 0.8.1 allows an attacker to read arbitrary files via the FILE_NAME value used by set_file_name() and load_meta_data() in metagpt/ext/spo/utils/load.py. The vulnerable code joins the attacker-controlled FILE_NAME value with the settings directory and opens the resulting path without validating that the resolved path remains within the intended directory.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-31
Last Modified
2026-09-01
Generated
2026-09-21
AI Q&A
2026-09-01
EPSS Evaluated
2026-09-15
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
metagpt spo 0.8.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a path traversal vulnerability in MetaGPT 0.8.1's SPO extension. It allows an attacker to read arbitrary files by manipulating the FILE_NAME value used in set_file_name() and load_meta_data() functions. The issue occurs because the code combines the attacker-controlled FILE_NAME with the settings directory and opens the path without checking if it stays within the intended directory.

Detection Guidance

To detect this vulnerability, inspect the MetaGPT SPO extension for improper handling of the FILE_NAME parameter in metagpt/ext/spo/utils/load.py. Check if user-controlled input is directly concatenated with system paths without validation. Review logs for unusual file access patterns or attempts to traverse directories.

Impact Analysis

An attacker could exploit this to access sensitive files on your system, including configuration files, credentials, or other confidential data stored in directories accessible by the application. This could lead to data breaches, unauthorized access, or further system compromise depending on the exposed files.

Compliance Impact

This vulnerability could lead to non-compliance with GDPR, HIPAA, or other regulations by enabling unauthorized access to personal or sensitive data. Organizations may face legal penalties, reputational damage, and loss of trust if such breaches occur due to inadequate file access controls.

Mitigation Strategies

Update MetaGPT to a patched version that fixes the path traversal issue in the SPO extension. If no patch is available, disable the SPO extension or restrict file access permissions to prevent unauthorized file reads.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-79407. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart