CVE-2026-61432: PraisonAI FastContext Path Resolution Vulnerability Allows Unauthorized File Access

praisonaiagents Updated 08 Oct 2026

Summary

08/10/2026
Yes i
Moderate
5.7

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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 →

Share this vulnerability

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.

Related vulnerabilities

Recent vulnerabilities recorded for praisonaiagents.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback