CVE-2026-61432: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in MervinPraison PraisonAI
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.
AI Analysis
Technical Summary
CVE-2026-61432 describes a path traversal vulnerability in MervinPraison's PraisonAI product prior to version 1.6.78. The issue exists in the FastContext feature where the execute_tool() method prepends the configured workspace_path only for relative paths but does not reject absolute paths or canonicalize the combined path before enforcing workspace containment. Consequently, attackers can supply absolute paths or directory traversal sequences ('../') to functions such as grep_search, glob_search, read_file, or list_directory, allowing them to access files outside the designated workspace directory. The contents of these files can be returned to the caller or injected into the model's tool-result context, potentially exposing sensitive information.
Potential Impact
The vulnerability allows an attacker with at least low privileges and user interaction to read and enumerate files outside the intended workspace directory. This unauthorized file access can lead to exposure of sensitive data. The CVSS 4.0 base score is 6.9 (medium severity), reflecting network attack vector, low attack complexity, no privileges required beyond user level, and high impact on confidentiality.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch information is provided at this time. Until a patch is available, restrict user inputs to the affected functions and avoid running the vulnerable versions in untrusted environments. Monitor vendor channels for updates and apply official fixes once released.
CVE-2026-61432: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in MervinPraison PraisonAI
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.
CVSS v4.0
Score 6.9medium
Affected software
pkg:github/mervinpraison/PraisonAIRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-61432 describes a path traversal vulnerability in MervinPraison's PraisonAI product prior to version 1.6.78. The issue exists in the FastContext feature where the execute_tool() method prepends the configured workspace_path only for relative paths but does not reject absolute paths or canonicalize the combined path before enforcing workspace containment. Consequently, attackers can supply absolute paths or directory traversal sequences ('../') to functions such as grep_search, glob_search, read_file, or list_directory, allowing them to access files outside the designated workspace directory. The contents of these files can be returned to the caller or injected into the model's tool-result context, potentially exposing sensitive information.
Potential Impact
The vulnerability allows an attacker with at least low privileges and user interaction to read and enumerate files outside the intended workspace directory. This unauthorized file access can lead to exposure of sensitive data. The CVSS 4.0 base score is 6.9 (medium severity), reflecting network attack vector, low attack complexity, no privileges required beyond user level, and high impact on confidentiality.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch information is provided at this time. Until a patch is available, restrict user inputs to the affected functions and avoid running the vulnerable versions in untrusted environments. Monitor vendor channels for updates and apply official fixes once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-09T14:05:21.471Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a51062d68715ace43b84ac0
Added to database: 07/10/2026, 14:48:13 UTC
Last enriched: 07/10/2026, 15:03:42 UTC
Last updated: 08/23/2026, 22:52:12 UTC
Views: 63
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.