CVE-2026-79407: Path Traversal

Published Aug 31, 2026
·
Updated

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

Affected Software

1 affected component
Meta MetaGPT=0.8.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade metagpt/ext/spo to a version that resolves this vulnerability.

    Fixed in 0.8.1

Event History

Aug 31, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·09:17 PM
Description

Frequently Asked Questions

1

Which deployments are exposed?

MetaGPT 0.8.1 deployments using the SPO extension are affected when an attacker can influence the FILE_NAME value passed to set_file_name() or load_meta_data().

2

What does an attacker need to exploit this issue?

The attacker needs control over the FILE_NAME value used by the affected functions. The vulnerable code uses that value when constructing a path and does not verify that the resolved path remains inside the settings directory.

3

What is the potential impact?

An attacker can use path traversal through FILE_NAME to read arbitrary files accessible to the MetaGPT process.

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