CVE-2026-40157 — Vulnerability in praisonai — CVE Details
PraisonAI vulnerable to arbitrary file write via path traversal in `praisonai recipe unpack`
Summary
Advisory Timeline
- First published April 10, 2026 (185 days ago).
- Last revised June 29, 2026 — 80 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "praisonai>=4.5.128"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: pypi (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| praisonai | pypi | 2.8.3, 2.8.4, 2.8.5, 2.8.6 (+292 more) | 4.5.128 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-22Path TraversalMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
References
Frequently Asked Questions
- What is CVE-2026-40157?
- PraisonAI vulnerable to arbitrary file write via path traversal in `praisonai recipe unpack` This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.6/10).
- How do I check if my project is affected by CVE-2026-40157?
- CVE-2026-40157 affects praisonai. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-40157 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-44336CRITICAL
PraisonAI MCP `tools/call` path-traversal => RCE via Python `.pth` injection
- CVE-2026-41497CRITICAL
PraisonAI has an incomplete fix for CVE-2026-34935 - OS Command Injection
- CVE-2026-34952CRITICAL
PraisonAI Has Missing Authentication in WebSocket Gateway
- CVE-2026-40154CRITICAL
PraisonAI Vulnerable Untrusted Remote Template Code Execution
- CVE-2026-47396CRITICAL
PraisonAI call server exposes unauthenticated agent listing, invocation, and deletion when CALL_SERVER_TOKEN is unset
- CVE-2026-57116CRITICAL
PraisonAI: AgentOS remains unauthenticated after incomplete fix version and allows remote agent invocation
- CVE-2026-40289CRITICAL
PraisonAI Browser Server allows unauthenticated WebSocket clients to hijack connected extension sessions
- CVE-2026-34934CRITICAL
PraisonAI Has Second-Order SQL Injection in `get_all_user_threads`
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies