Skip to main content
EPSS 0.4%top 69%

CVE-2026-55540: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in MervinPraison PraisonAI

0
High
VulnerabilityCVE-2026-55540cvecve-2026-55540cwe-22
Published: 08/25/2026 (08/25/2026, 14:54:32 UTC)
Source: CVE Database V5
Vendor/Project: MervinPraison
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L

Affected software

MervinPraison

PraisonAI

Affected versions
<4.6.58

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 04:37:26 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses