PraisonAIAgents has a Path Traversal via Unvalidated Glob Pattern in list_files Bypasses Workspace Boundary
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MervinPraison | PraisonAIAgents | before 1.5.128 | 1.5.128 | Patch available | CNA |
| — | praisonaiagents (PyPI) | before 1.5.128 | 1.5.128 | Patch available | GHSA-7j2f-xc8p-fjmq |
- PraisonAIAgents VendorMervinPraison Affected before 1.5.128 Fixed in 1.5.128 Patch available CNA
- praisonaiagents (PyPI) Vendor— Affected before 1.5.128 Fixed in 1.5.128 Patch available GHSA-7j2f-xc8p-fjmq
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:praison:praisonaiagents:*:*:*:*:*:*:*:* | before 1.5.128 | Vulnerable | MervinPraison |
- cpe:2.3:a:praison:praisonaiagents:*:*:*:*:*:*:*:* Versions before 1.5.128 Vulnerable ·MervinPraison
Remediation
- Fix · CNA PraisonAIAgents (MervinPraison) Fixed in 1.5.128
- Fix · GHSA-7j2f-xc8p-fjmq praisonaiagents (PyPI) Fixed in 1.5.128 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40152
- 2026-10-03 Alias added: GHSA-7j2f-xc8p-fjmq
References
More MervinPraison Praisonaiagents vulnerabilities
- TI-2026-29070 PraisonAI: Critical RCE via `type: job` workflow YAML CVSS 3.1CRITICAL 9.8
- TI-2026-27162 PraisonAI: Python Sandbox Escape via str Subclass startswith() Override in execute_code CVSS 3.1CRITICAL 10.0
- TI-2026-29071 PraisonAI Browser Server allows unauthenticated WebSocket clients to hijack connected extension sessions CVSS 3.1CRITICAL 9.1
- TI-2026-32306 PraisonAI has unsafe tool resolution in `ToolExecutionMixin.execute_tool`: undeclared `__main__` callables execute CVSS 3.1HIGH 8.6
- TI-2026-27178 PraisonAI: SSRF in FileTools.download_file() via Unvalidated URL CVSS 3.1HIGH 8.6
- TI-2026-27161 PraisonAI: Shell Injection in run_python() via Unescaped $() Substitution CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-40152 · CVE Program
- CVE-2026-40152 · NVD
- FIRST EPSS
- GHSA-7j2f-xc8p-fjmq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences