CVE-2026-61431 PraisonAI before 4.6.78 Path Traversal via ContextGatherer

Medium 6.8 Published Updated

Attackers can read arbitrary files outside the workspace by supplying malicious paths in context files, exposing sensitive data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-61431?

CVE-2026-61431 is a medium-severity path traversal vulnerability in MervinPraison PraisonAI, published on 10 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

PraisonAI before 4.6.78 contains a path traversal vulnerability in ContextGatherer that fails to validate include paths in .praisoncontext and .praisoninclude files. Attackers can supply absolute paths or parent directory traversal sequences to read arbitrary files outside the workspace and include their contents in the generated context bundle.

Weakness: CWE-22

Which versions are affected by CVE-2026-61431?

3 open source packages ship an affected version, including praisonai.

PackageAffectedFixed in
praisonai PyPIAll versions4.6.78
praisonai PyPIAll versions4.6.78
praisonai PyPIAll versions4.6.78

How do I fix CVE-2026-61431?

Upgrade praisonai to 4.6.78 or later.

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

Is CVE-2026-61431 being exploited?

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

Sources

Also known as GHSA-q7m5-3jmv-vm48, PYSEC-2026-4258.

Is CVE-2026-61431 in your software?

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

Check your SBOMs for free