CVE-2026-61432 · GHSA-4xxv-6wmf-xf45
PraisonAI: FastContext path resolution permits absolute and traversal reads outside the workspace
- Risk score
- 46/100
- CVSS
- 5.7 v3.1
- Exploit chance (30 days)
- 0.4%
- Published
- 10 Jul 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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 …
- Affected
- praisonaiagents (pip) <= 1.6.77
- Fix
- Upgrade praisonaiagents to 1.6.78 or later.
- Exploitation
- No known exploitation
Story map
At a glance
praisonaiagents: Red, act today. CodeAgent._execute_python() executes LLM-generated Python code in a subprocess with the complete parent-process environment (os.environ.copy()), zero AST validation, zero import restrictions, and no sandbox enforcement — even when CodeConfig(sandbox=True) is explicitly set. This allows an attacker who can influence LL…
The flaws
- CVE-2026-61432: PraisonAI: FastContext path resolution permits absolute and traversal reads outside the workspace (CVSS 5.7 · EPSS 0%)
- CVE-2026-61447: PraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secrets (CVSS 10.0 · EPSS 2%)
- CVE-2026-61430: PraisonAI: DNS rebinding bypass in `web_crawl` SSRF protection allows internal response disclosure (CVSS 8.5 · EPSS 0%)
- CVE-2026-61429: PraisonAI: Crawl4AI/Chromium backend is also affected by the `web_crawl` SSRF validation bypass (CVSS 8.5 · EPSS 0%)
The fix
Upgrade praisonaiagents: 1.6.78 or later on your release line
Who is exposed: praisonaiagents (pip) <= 1.6.77
Where it stands
- Public proof of concept
Connects to
- Same weakness: Path traversal (CWE-22). 399 other warnings in 30 days
Why it is Yellow
- CVSS 5.7 medium
- On your watchlist: PyPI
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| praisonaiagents | pip | <= 1.6.77 | 1.6.78 |
References
- https://github.com/advisories/GHSA-4xxv-6wmf-xf45
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-4xxv-6wmf-xf45
- https://nvd.nist.gov/vuln/detail/CVE-2026-61432
- https://github.com/MervinPraison/PraisonAI/commit/1620b49f36945d8cc8ee5635b906c960df5097a0
- https://www.vulncheck.com/advisories/praisonai-fastcontext-before-path-traversal
- https://github.com/advisories/GHSA-4xxv-6wmf-xf45
Original 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.
Last activity 8 Oct 2026. Patch Forecast updates every hour.