CVE-2026-61431: PraisonAI ContextGatherer Allows Unauthorized File Access Outside Workspace

praisonai Updated 09 Oct 2026

Summary

08/10/2026
Yes i
Moderate
5.5

CVE-2026-61431: ContextGatherer include resolution permits absolute and traversal reads outside the workspace Summary PraisonAI's praisonai.ui.context.ContextGatherer treats the configured directory as the project workspace, but project... Affects praisonai versions < 4.6.78. Fixed in 4.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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

PraisonAI is an open-source AI framework designed for context gathering and processing within specified project workspaces. It enables users to manage and utilize context data effectively. However, a vulnerability in the ContextGatherer component allows attackers to manipulate include paths, potentially leading to unauthorized access to sensitive files outside the designated workspace.

Vulnerability Detail

The vulnerability arises from the ContextGatherer's handling of include paths specified in project-controlled files (.praisoncontext and .praisoninclude). These files can contain absolute paths or traversal paths (..), allowing an attacker to read files outside the intended workspace. When context gathering is executed, the system appends the contents of these external files to the context bundle, which may include sensitive information such as API keys, configuration files, or other confidential data. This flaw violates the workspace containment principle, exposing the system to potential data leaks and unauthorized access.

How To Fix

Latest published version: 4.7.16 as of 22 Oct 2026

pip install --upgrade "praisonai==4.7.16"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.6.78

This is the first release that contains the fix.

pip install --upgrade "praisonai==4.6.78"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid using absolute paths or parent traversal paths in the .praisoncontext and .praisoninclude files. Ensure that all include paths are relative to the workspace directory to prevent unauthorized file access.

Conclusion

CVE-2026-61431 is a significant vulnerability in the PraisonAI framework that allows unauthorized access to files outside the designated workspace. Users are encouraged to update to the latest version to secure their applications against potential data leaks. Additionally, employing best practices in file path management can help mitigate risks until an update can be applied.

See every vulnerability recorded for praisonai →

Share this vulnerability

FAQ

CVE-2026-61431 is a vulnerability in the PraisonAI framework that allows unauthorized access to files outside the specified project workspace due to improper handling of include paths.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability can lead to the disclosure of sensitive information, including source files, configuration data, and API keys, which may compromise the security of your application.

Yes, a patch is available in version 4.6.78 of the PraisonAI package. It is recommended to update to this version or later to mitigate the vulnerability.

If you cannot update the package, ensure that you do not use absolute or parent traversal paths in your include files as a temporary measure to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for praisonai.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: 4.7.16 as of 22 Oct 2026

pip install --upgrade "praisonai==4.7.16"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.6.78

This is the first release that contains the fix.

pip install --upgrade "praisonai==4.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