Skip to main content

PraisonAI CVE-2026-57145

| EUVDEUVD-2026-77595 CRITICAL
Path Traversal (CWE-22)
2026-09-14 GitHub_M GHSA-29w3-p9w9-wc47 PYSEC-2026-3500
9.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach PraisonAI agent with multiedit tool
  2. Delivery
    Inject crafted prompt / malicious YAML
  3. Exploit
    Agent calls multiedit on attacker path
  4. Execution
    open() reads or writes unchecked filepath
  5. Persist
    Exfiltrate secrets via diff or overwrite files
  6. Impact
    Persistence 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 multiedit tool available via the tools registry AND where an attacker can influence that agent's tool arguments - specifically the filepath parameter - through crafted prompts, untrusted chatbot user input, or a malicious YAML workflow config. No OS-level authentication is needed against the file system beyond the privileges of the process running the agent; the read/write is bounded only by what that process user can access (hence exposure of /etc/shadow, ~/.ssh/id_rsa, ~/.aws/credentials). Limiting factors: the vulnerable tool must be enabled/registered, and the agent must be exposed to attacker-controllable input (prompt-injection surface); deployments that do not expose the multiedit tool or that only process trusted operator prompts are not exploitable. This is not a raw unauthenticated network endpoint despite the PR:N/AV:N CVSS framing.

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 multiedit tool actually be registered and reachable by an agent acting on untrusted input. The SSVC framework is the most honest read: Exploitation=none (no observed in-the-wild activity), Automatable=yes (once an injectable agent is exposed, the read/write primitive is deterministic), Technical Impact=total (arbitrary file read AND write as the process user). EPSS is low (0.36%, 29th percentile) and there is no CISA KEV listing, consistent with a newly-disclosed niche-product issue that is not yet under broad automated attack. A working PoC is published in the GHSA advisory (arbitrary read via dry_run diff, arbitrary write via the write path), so exploit code exists but active exploitation is not confirmed. Net: a real priority for anyone running PraisonAI agents on untrusted input, but the '9.1 Critical / PR:N' headline overstates unconditional remote risk - the true gating factor is prompt-injection exposure plus the tool being enabled.

Exploit ScenarioDerived

An organization runs a PraisonAI chatbot or agent workflow that exposes the multiedit tool and accepts untrusted user input or third-party content. An attacker plants a prompt-injection payload (in chat input, an ingested document, or a YAML workflow config) instructing the agent to multiedit a sensitive path - reading ~/.ssh/id_rsa, ~/.aws/credentials, or /etc/shadow back through the diff/dry-run output, or overwriting a startup script for persistence. A public PoC in the GHSA advisory demonstrates both the arbitrary read (via dry_run=True diff leakage) and arbitrary write primitives.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

PraisonAI < 4.6.62

Affected Packages

pypi praisonai fix: 4.6.61, 4.6.62

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

Vendor (GitHub_M) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.4 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Sep 14, 2026 - 18:03 EUVD
CVE Published
Sep 14, 2026 - 15:10 cve.org
CRITICAL 9.1

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Low
niche open-source multi-agent LLM framework, limited production footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2026-61447 CRITICAL POC
10.0 Jul 11

Remote code execution in PraisonAI before 1.6.78 allows attackers to run arbitrary Python on the host by manipulating th

CVE-2026-57139 CRITICAL POC
9.8 Sep 15

PraisonAI's TypeScript MCP server (npm package `praisonai`, versions 1.5.0 through 1.7.1) exposes an HTTP JSON-RPC trans

CVE-2026-57148 CRITICAL POC
9.8 Sep 15

Unauthenticated authentication bypass in praisonai-platform prior to 0.1.6 (and PraisonAI before 4.6.51) allows a remote

CVE-2026-55536 CRITICAL POC
9.1 Aug 25

WebSocket origin-validation bypass in PraisonAI's Browser Server (praisonai/browser/server.py) before 4.6.58 lets an att

CVE-2026-61426 HIGH POC
8.8 Jul 11

Unauthenticated agent access in PraisonAI before 1.7.3 lets remote attackers read agent instructions and system prompts

CVE-2026-55541 HIGH POC
8.8 Aug 25

PraisonAI's `praisonai serve` subsystem (agents and unified modes) accepts an `--api-key` CLI flag that is parsed but ne

CVE-2026-61439 HIGH POC
8.7 Jul 11

System prompt extraction and unauthorized tool invocation in PraisonAI before 4.6.78 arise because the prompt-injection

CVE-2026-55534 HIGH POC
8.6 Aug 25

Unauthenticated remote agent invocation in PraisonAI versions 4.6.34 through 4.6.57 allows any network-reachable caller

CVE-2026-55526 HIGH POC
8.5 Aug 25

SSRF protection bypass in PraisonAI's praisonaiagents library (all versions before 1.6.58) lets low-privileged users rou

CVE-2026-61429 HIGH POC
8.4 Jul 11

Server-side request forgery in PraisonAI's Crawl4AI/Chromium crawling backend (all versions before 1.6.78) lets low-priv

CVE-2026-55533 HIGH POC
8.2 Aug 25

Authentication fail-open in PraisonAI's Recipe HTTP server allows unauthenticated remote attackers to invoke recipe exec

CVE-2026-55528 HIGH POC
8.2 Aug 25

Authentication bypass in PraisonAI's AgentServer component exposes all routes - /publish, /events, /info, /health - to u

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy