CVE-2026-79407 Path traversal in n/a

High 7.5 Published Updated

An attacker can read arbitrary files by exploiting a path traversal flaw in the MetaGPT SPO extension's file loading mechanism.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-79407?

CVE-2026-79407 is a high-severity path traversal vulnerability in n/a, published on 31 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-79407?

How do I fix CVE-2026-79407?

No fix has been published for CVE-2026-79407 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-79407 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-79407 exists.

Sources

Also known as GHSA-2p3m-whr7-9m4w.

Is CVE-2026-79407 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free