CVE-2026-61432 PraisonAI FastContext before 1.6.78 Path Traversal
Attackers can read arbitrary files outside the workspace via path traversal in PraisonAI FastContext, exposing sensitive data to the model or caller.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-61432?
CVE-2026-61432 is a medium-severity path traversal vulnerability in MervinPraison PraisonAI, published on 10 Jul 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
PraisonAI (praisonaiagents) before 1.6.78 contains a path traversal vulnerability in the FastContext feature (praisonaiagents.context.fast). FastContextAgent.execute_tool() prepends the configured workspace_path only for relative paths and neither rejects absolute paths nor canonicalizes joined paths before enforcing workspace containment. As a result, tool arguments or model-generated function calls to grep_search, glob_search, read_file, or list_directory can supply absolute paths or '../' traversal sequences to read, search, and enumerate files outside the intended workspace directory, with file contents returned to the caller or injected into the model's tool-result context.
Weakness: CWE-22
Which versions are affected by CVE-2026-61432?
3 open source packages ship an affected version, including praisonaiagents.
| Package | Affected | Fixed in |
|---|---|---|
praisonaiagents PyPI | All versions | 1.6.78 |
praisonaiagents PyPI | All versions | 1.6.78 |
praisonaiagents PyPI | All versions | 1.6.78 |
How do I fix CVE-2026-61432?
Upgrade praisonaiagents to 1.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-61432 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-61432 exists.
Sources
Also known as GHSA-4xxv-6wmf-xf45, PYSEC-2026-4268.