# CVE-2026-79407: 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…

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-31T00:00:00.000Z
- Modified: 2026-09-08T19:42:20.313Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/REYu6/Metagpt-vul/blob/main/CVE-2-MetaGPT-path-traversal.md> (exploit)

## Sources

- CVE List: [CVE-2026-79407](https://www.cve.org/CVERecord?id=CVE-2026-79407), CVE Terms of Use, modified 2026-09-01
- NVD: [CVE-2026-79407](https://nvd.nist.gov/vuln/detail/CVE-2026-79407), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-79407 · Whole record: https://cve.day/CVE-2026-79407.json · Rebuilt by cve.day 2026-11-25T22:59:35.876Z
