Skip to main content

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

0
High
VulnerabilityCVE-2026-56839cvecve-2026-56839cwe-22cwe-200cwe-863
Published: 09/14/2026 (09/14/2026, 15:00:45 UTC)
Source: CVE Database V5
Vendor/Project: MervinPraison
Product: PraisonAI

Description

PraisonAI is a multi-agent teams system. Prior to 4.6.59, the CODE_TOOLS wrappers keep _workspace_root as None and pass workspace=None to read_file, search_replace, and apply_diff helpers that enforce path containment only for a truthy workspace. An application that exposes code_read_file, code_search_replace, or code_apply_diff before set_workspace can therefore let prompt-influenced calls read and modify files outside the intended project directory, while explicitly configured workspaces remain effective. This vulnerability is fixed in 4.6.59.

CVSS v3.1

Score 7.3high

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

Affected software

MervinPraison

PraisonAI

Affected versions
<4.6.59
GitHub Actionsmore threats →ai
mervinpraison/PraisonAI
pkg:github/mervinpraison/PraisonAI
Affected versions
<4.6.59

Run 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

AILast updated: 09/14/2026, 15:32:00 UTC

Technical Analysis

PraisonAI is a multi-agent teams system. Before version 4.6.59, the CODE_TOOLS wrappers keep the _workspace_root variable as None and pass workspace=None to helper functions such as read_file, search_replace, and apply_diff. These helpers enforce path containment only when the workspace parameter is truthy. If an application exposes code_read_file, code_search_replace, or code_apply_diff before set_workspace is called, it can allow prompt-influenced calls to read and modify files outside the intended project directory. This path traversal vulnerability allows unauthorized file access and modification. The issue is resolved in version 4.6.59.

Potential Impact

An attacker with limited privileges (PR:L) and user interaction (UI:R) can exploit this vulnerability to read and modify files outside the intended project directory, potentially leading to unauthorized disclosure and modification of sensitive files. The vulnerability does not impact availability. The CVSS 3.1 base score is 7.3 (High), reflecting high confidentiality and integrity impact with network attack vector and low attack complexity.

Mitigation Recommendations

Upgrade PraisonAI to version 4.6.59 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated. Since this is not a cloud service, remediation depends on applying the official fix.

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-23T14:55:09.118Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aa80fff55bf5e2cf53beb19

Added to database: 09/14/2026, 15:17:19 UTC

Last enriched: 09/14/2026, 15:32:00 UTC

Last updated: 09/15/2026, 03:19:08 UTC

Views: 10

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