Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Medium
VulnerabilityCVE-2026-40152cvecve-2026-40152cwe-22
Published: Thu Apr 09 2026 (04/09/2026, 21:26:49 UTC)
Source: CVE Database V5
Vendor/Project: MervinPraison
Product: PraisonAIAgents

Description

PraisonAIAgents is a multi-agent teams system. Prior to 1.5.128, he list_files() tool in FileTools validates the directory parameter against workspace boundaries via _validate_path(), but passes the pattern parameter directly to Path.glob() without any validation. Since Python's Path.glob() supports .. path segments, an attacker can use relative path traversal in the glob pattern to enumerate arbitrary files outside the workspace, obtaining file metadata (existence, name, size, timestamps) for any path on the filesystem. This vulnerability is fixed in 1.5.128.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/10/2026, 00:37:14 UTC

Technical Analysis

PraisonAIAgents is a multi-agent system where the list_files() tool uses _validate_path() to restrict directory parameters within workspace boundaries. However, the pattern parameter passed to Path.glob() is not validated, allowing use of '..' segments for relative path traversal. This enables attackers to enumerate files outside the workspace, obtaining metadata without authentication or user interaction. The vulnerability is addressed in version 1.5.128.

Potential Impact

An attacker can enumerate arbitrary files on the filesystem outside the intended workspace boundaries, gaining access to file metadata such as existence, names, sizes, and timestamps. There is no impact on file integrity or availability, and no authentication or user interaction is required to exploit this vulnerability.

Mitigation Recommendations

Upgrade PraisonAIAgents to version 1.5.128 or later, where this vulnerability is fixed. Since the vendor has released a fixed version, applying this official update is the recommended remediation. Patch status is confirmed by the vendor advisory stating the issue is fixed in 1.5.128.

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-04-09T19:31:56.013Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69d843771cc7ad14da3fb5cc

Added to database: 4/10/2026, 12:25:27 AM

Last enriched: 4/10/2026, 12:37:14 AM

Last updated: 4/10/2026, 8:14:24 AM

Views: 8

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