CVE-2026-61432: PraisonAI: FastContext path resolution permits absolute and traversal reads outside the workspace
PraisonAI’s praisonaiagents.context.fast FastContext feature treats workspace_path as the root directory for code search, but its model-facing search tools and high-level read_context() helper accept absolute paths and .. traversal paths without checking that the resolved path remains under that workspace. A lower-trust prompt or caller that can influence FastContext tool arguments can read, search, and enumerate files outside the intended project workspace; the resulting file content is then returned to the caller or injected into the model’s tool-result context.
References
- github.com/MervinPraison/PraisonAI/commit/1620b49f36945d8cc8ee5635b906c960df5097a0
- github.com/MervinPraison/PraisonAI/security/advisories/GHSA-4xxv-6wmf-xf45
- github.com/advisories/GHSA-4xxv-6wmf-xf45
- nvd.nist.gov/vuln/detail/CVE-2026-61432
- www.vulncheck.com/advisories/praisonai-fastcontext-before-path-traversal
Code Behaviors & Features
Detect and mitigate CVE-2026-61432 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →