CVE-2026-61432: PraisonAI FastContext Path Resolution Vulnerability Allows Unauthorized File Access
Summary
CVE-2026-61432: PraisonAI: FastContext path resolution permits absolute and traversal reads outside the workspace. Affects praisonaiagents versions < 1.6.78. Fixed in 1.6.78. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
PraisonAI is an open-source framework designed for building AI agents that can interact with code and perform various tasks, including code search and context retrieval. The FastContext feature within PraisonAI is intended to streamline code searches by defining a workspace path as the root directory for these operations. However, a critical vulnerability exists that allows users to bypass this workspace restriction, potentially exposing sensitive files outside the intended directory.
Vulnerability Detail
The vulnerability arises from the FastContext feature's handling of file paths. Specifically, the FastContextAgent class does not properly validate the paths provided by users, allowing absolute paths and traversal sequences (e.g., '..') to be processed without restriction. This oversight can lead to unauthorized access to files outside the designated workspace, enabling attackers to read sensitive information such as source code, configuration files, and API keys. The technical flaw lies in the lack of path canonicalization and containment checks, which permits the execution of file operations on unintended directories.
How To Fix
Latest published version: 1.7.14 as of 22 Oct 2026
pip install --upgrade "praisonaiagents==1.7.14"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
1.6.78
This is the first release that contains the fix.
pip install --upgrade "praisonaiagents==1.6.78"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can avoid using the FastContext feature for sensitive operations until the package is updated. It is advisable to restrict access to the FastContext tools and ensure that only trusted prompts can invoke them.
Conclusion
CVE-2026-61432 is a significant vulnerability in the PraisonAI FastContext feature that allows unauthorized access to files outside the designated workspace. Users are strongly encouraged to update to the patched version 1.6.78 or later to mitigate the risk. Implementing proper path validation is essential to prevent similar vulnerabilities in the future.
See every vulnerability recorded for praisonaiagents →
FAQ
CVE-2026-61432 is a vulnerability in the PraisonAI FastContext feature that allows unauthorized file access outside the defined workspace.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
The vulnerability can lead to the exposure of sensitive information, including source files, logs, and API keys, which can compromise application security.
The CVSS score for this vulnerability is 5.7, indicating a moderate severity level that requires attention.
If you cannot update the package, avoid using the FastContext feature for sensitive operations and restrict access to it until a patch is applied.
References
Related vulnerabilities
Recent vulnerabilities recorded for praisonaiagents.