Skip to content
HighVulnerability

CVE-2026-79407: MetaGPT SPO extension path traversal via FILE_NAME in load_meta_data

Identifier
CVE-2026-79407
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

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

Mitigation

The source does not state a fix yet. Check the original advisory for updates.