CVE-2026-55540: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in MervinPraison PraisonAI
Description
CVE-2026-55540 is a path traversal vulnerability in MervinPraison PraisonAI prior to version 4.6.58. The issue arises because the function is_path_within_directory() uses os.path.abspath() instead of os.path.realpath() to enforce workspace boundaries. This allows a symbolic link inside the workspace to point outside the workspace and bypass the directory restriction, enabling unauthorized access to files outside the intended directory. The vulnerability is fixed in version 4.6.58.
CVSS v3.1
Score 7.1high
Affected software
MervinPraison
PraisonAI
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In PraisonAI versions before 4.6.58, the function is_path_within_directory() incorrectly uses os.path.abspath() rather than os.path.realpath() to validate that file paths remain within the configured workspace directory. Because os.path.abspath() does not resolve symbolic links, an attacker can create a symlink inside the workspace that points to a location outside the workspace. This bypass allows code tools such as read_file to access files outside the intended restricted directory, leading to a path traversal vulnerability (CWE-22). The issue is resolved in version 4.6.58 by correcting the path resolution method.
Potential Impact
An attacker with the ability to create or manipulate files within the workspace can exploit this vulnerability to read files outside the designated workspace directory. This can lead to unauthorized disclosure of sensitive information (confidentiality impact) and potentially affect integrity by accessing unintended files. The CVSS score of 7.1 reflects high severity with network attack vector, high confidentiality and integrity impact, and low availability impact.
Mitigation Recommendations
A fix is available in PraisonAI version 4.6.58. Users should upgrade to version 4.6.58 or later to remediate this vulnerability. No other vendor advisories or temporary mitigations are provided, so upgrading is the recommended action.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-16T23:01:04.074Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a8db46cacd9273b495e7a28
Added to database: 08/25/2026, 15:27:40 UTC
Last enriched: 09/10/2026, 04:37:26 UTC
Last updated: 10/09/2026, 06:48:18 UTC
Views: 51
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.