Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach PraisonAI agent with multiedit tool
-
DeliveryInject crafted prompt / malicious YAML
-
ExploitAgent calls multiedit on attacker path
-
Executionopen() reads or writes unchecked filepath
-
PersistExfiltrate secrets via diff or overwrite files
-
ImpactPersistence or application tampering
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a PraisonAI deployment (< 4.6.62) where an agent has the lazy-loaded |
| Impact | Signals are mixed and point to a genuine but conditional risk rather than a mass-exploitation emergency. The NVD CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:N, 9.1 Critical) treats the flaw as trivially remote and unauthenticated, but this framing is misleading: the 'attacker' is a party who can influence LLM tool arguments (via crafted prompts, chatbot user input, or malicious YAML workflows), and exploitation requires that the vulnerable |
| Exploit ScenarioDerived | An organization runs a PraisonAI chatbot or agent workflow that exposes the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 16, 2026
Arbitrary file read and write through the multiedit tool in PraisonAI before 4.6.62 lets prompt-influenced agents reach any file the agent process can access, exposing secrets such as /etc/shadow, ~/.ssh/id_rsa, and ~/.aws/credentials, or overwriting application files for persistence and tampering. The vulnerable filepath parameter is passed straight into open() for both reading and writing with no traversal rejection, symlink resolution, workspace boundary, or protected-path guard, unlike the sibling file, edit, and skill tools in the same codebase. Exploitation is conditional rather than a raw network attack: the lazy-loaded multiedit tool must be present in the agent's tools registry and the attacker must be able to influence its arguments through crafted prompts, untrusted chatbot input, or a malicious YAML workflow config, which is why our independent assessment rates it CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N even though the published score is 9.1 (AC:L); EPSS is low at 0.36% (29th percentile), CISA SSVC records no exploitation, and no public exploit was identified at time of analysis, although the vendor advisory itself contains a reproducibility proof-of-concept. Authentication is not required at the file-system layer (CVSS vector PR:N), but the attacker must already be positioned to reach the agent's prompt/tool-argument surface; exposure is bounded by the privileges of the process running the agent.
RemediationAI
Vendor-released patch: upgrade to PraisonAI 4.6.62 (pip install --upgrade "praisonai>=4.6.62", or praisonaiagents>=1.6.62 for the agent package), and if you build from the shipped Docker files, note that Dockerfile.chat, Dockerfile.dev, and Dockerfile.ui were updated to pin praisonai>=4.6.62 - an existing image built on the old >=4.6.60 pin must be rebuilt rather than assumed fixed. Verify the deployment afterwards against the vendor advisory (https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-29w3-p9w9-wc47) and the fix commit (https://github.com/MervinPraison/PraisonAI/commit/2a855c470077c7d2e2479a575f7ef7f548d51c33); regression tests for the path/URL/approval hardening are included in the commit. If immediate upgrade is not possible, remove multiedit from the tools registry or agent tool list (this also removes legitimate multi-file edit functionality, so plan an alternative editing path), and keep the allow_dangerous_tools flag disabled so workflow YAML approve lists cannot auto-approve dangerous tools - the fix commit enforces exactly this gating. As a containment measure with a real trade-off, run the agent process as a dedicated low-privilege user inside a container with no host secret mounts, so a successful traversal cannot reach /etc/shadow, ~/.ssh/id_rsa, or ~/.aws/credentials; this limits blast radius but does not stop traversal within the container's own filesystem. Finally, reduce the prompt-injection surface that delivers the malicious filepath: do not expose agents with this tool to untrusted chatbot users or third-party YAML workflows, and treat any such input as attacker-controlled until the upgrade is applied.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / path traversal) in src/praisonai/praisonai/tools/multiedit.py, where an LLM-controlled filepath argument is handed directly to Python's open() at the read path (line 74) and the write path (line 130). The file deliberately omits every guard that other PraisonAI tools implement: file_tools.py rejects .. sequences and validates containment with os.path.commonpath plus os.path.realpath symlink resolution, edit_tools.py blocks .., and skill_tools.py and praisonai/code/tools/ (write_file.py, read_file.py, apply_diff.py, search_replace.py) enforce is_path_within_directory() and protected-path checks. Because multiedit is exported from praisonai/tools/__init__.py as a lazy-loaded tool and surfaced through the PraisonAI CLI tools registry, any agent configured with it inherits an unconstrained read/write primitive: absolute paths, .. climbs, and symlinks all resolve normally against the process user's permissions. The read primitive is amplified by the tool's dry_run diff behavior, which returns file content in the returned diff payload without performing a write, so a single tool call can exfiltrate file contents. The same commit that fixes this (2a855c470077c7d2e2479a575f7ef7f548d51c33) also bundles an SSRF allow-list for SearxNG URLs (praisonaiagents/tools/url_safety.py) and gates YAML auto-approval of dangerous tools behind allow_dangerous_tools (GHSA-7qw2), indicating a broader hardening pass over agent tool trust boundaries. The affected distribution is the PyPI package praisonai (CPE cpe:2.3:a:mervinpraison:praisonai:*:*:*:*:*:*:*:*) and its praisonaiagents component, tracked as EUVD-2026-77595.
Know when Praisonai gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attacker reaches the primitive via prompt injection on an exposed agent (AV:N, PR:N) but must have the multiedit tool enabled and control tool arguments (AC:H); arbitrary read/write gives C:H/I:H, no direct availability impact so A:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
PraisonAI is a multi-agent teams system. Prior to 4.6.62, src/praisonai/praisonai/tools/multiedit.py passes the LLM-controlled filepath parameter directly to open for reading and writing without traversal rejection, symlink resolution, a workspace boundary, or protected-path checks. Prompt-influenced agents can read files through edit and diff behavior or overwrite files accessible to the process, exposing secrets and enabling persistence or application tampering. This issue is fixed in 4.6.62.
Technical POC Analysis
CWE-22 path traversal / improper restriction of a pathname to a restricted directory in src/praisonai/praisonai/tools/multiedit.py.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
PraisonAI releases before 4.6.62 carry a critical flaw in the multiedit tool that lets a prompt-influenced AI agent read or overwrite any file its process can reach, endangering cloud credentials, SSH private keys, and host password stores while enabling tampering or persistence on the host. Exploitation is unauthenticated but conditional - the multiedit tool must be loaded in the agent's registry and the attacker must be able to shape its arguments through crafted prompts, untrusted chat input, or malicious workflow configuration - so exposure concentrates in agents handling untrusted content. No public exploit identified at time of analysis; the vendor has issued a fixed release, PraisonAI 4.6.62.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote code execution in PraisonAI before 1.6.78 allows attackers to run arbitrary Python on the host by manipulating th
PraisonAI's TypeScript MCP server (npm package `praisonai`, versions 1.5.0 through 1.7.1) exposes an HTTP JSON-RPC trans
Unauthenticated authentication bypass in praisonai-platform prior to 0.1.6 (and PraisonAI before 4.6.51) allows a remote
WebSocket origin-validation bypass in PraisonAI's Browser Server (praisonai/browser/server.py) before 4.6.58 lets an att
Unauthenticated agent access in PraisonAI before 1.7.3 lets remote attackers read agent instructions and system prompts
PraisonAI's `praisonai serve` subsystem (agents and unified modes) accepts an `--api-key` CLI flag that is parsed but ne
System prompt extraction and unauthorized tool invocation in PraisonAI before 4.6.78 arise because the prompt-injection
Unauthenticated remote agent invocation in PraisonAI versions 4.6.34 through 4.6.57 allows any network-reachable caller
SSRF protection bypass in PraisonAI's praisonaiagents library (all versions before 1.6.58) lets low-privileged users rou
Server-side request forgery in PraisonAI's Crawl4AI/Chromium crawling backend (all versions before 1.6.78) lets low-priv
Authentication fail-open in PraisonAI's Recipe HTTP server allows unauthenticated remote attackers to invoke recipe exec
Authentication bypass in PraisonAI's AgentServer component exposes all routes - /publish, /events, /info, /health - to u
EUVD-2026-77595
GHSA-29w3-p9w9-wc47
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB