Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to FastContext-enabled agent endpoint
-
DeliveryCraft absolute path or '../' traversal argument
-
ExploitSubmit malicious tool call (read_file/grep_search/glob_search/list_directory)
-
Executionexecute_tool() skips path canonicalization and containment check
-
ImpactArbitrary host file contents returned to attacker or injected into model context
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 the FastContext feature (praisonaiagents.context.fast module) to be instantiated and actively used - deployments that do not use FastContextAgent are not affected. The attacker must have low-level access (PR:L per CVSS 4.0) to supply or influence tool arguments passed to execute_tool(), either directly through an authenticated API or indirectly by influencing model-generated function calls (UI:P - user interaction is required, reflecting an agentic prompt-injection path). The vulnerability is triggered specifically via the file-operation tools: grep_search, glob_search, read_file, or list_directory; other tool types are not affected. Limiting factors: PR:L confirms unauthenticated exploitation is not possible against default-secured deployments; UI:P indicates a human or model interaction step is required; impact is read-only (VI:N, VA:N), preventing write-based compromise directly; and only the file-operation subset of tools exposes the traversal surface. Containerized or OS-restricted deployments with minimal filesystem mounts substantially reduce the practical impact of a successful traversal. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N, score 6.9) signals network reachability with low complexity, low-privilege authentication, a user-interaction component, and high confidentiality impact limited to the vulnerable system with no integrity or availability impact. No EPSS data was provided in the input, so exploitation probability cannot be quantified. No CISA KEV listing and no public exploit code have been identified at time of analysis. Real-world risk is context-dependent: in single-tenant or private deployments where tool arguments originate from trusted users, exploitation requires deliberate abuse by an authenticated principal. In multi-tenant or public-facing deployments where PraisonAI processes untrusted prompts, the UI:P factor may be satisfied by model-generated function calls influenced by prompt injection, significantly elevating practical risk. The impact is confidentiality-only, but file disclosure from an agent host commonly yields API keys, database credentials, SSH private keys, or model configuration secrets enabling privilege escalation beyond the initial read. This is a genuine priority for any deployment where FastContext agents are exposed to untrusted input. |
| Exploit ScenarioDerived | An attacker with low-privilege access to a PraisonAI deployment - or an adversary who achieves prompt injection into a FastContext-enabled agent - supplies a crafted tool argument such as /etc/passwd or ../../../../home/app/.ssh/id_rsa to the read_file or grep_search tool. Because execute_tool() neither rejects the absolute path nor canonicalizes the joined traversal sequence, the file is read and its contents returned directly to the attacker or injected into the model's context, potentially leaking credentials or private keys. No public POC exploit has been identified at time of analysis, but the bypass requires only standard path manipulation with no specialized tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 10, 2026
Path traversal in PraisonAI's FastContext feature (praisonaiagents before 1.6.78) enables low-privileged network attackers to read arbitrary files outside the intended workspace sandbox. FastContextAgent.execute_tool() applies the workspace_path prefix only to relative paths, neither rejecting absolute path arguments nor canonicalizing joined paths before enforcing containment - meaning file-operation tools (grep_search, glob_search, read_file, list_directory) can be exploited with '../' sequences or direct absolute paths to exfiltrate host files. No public exploit has been identified at time of analysis, but the vulnerability is straightforward to trigger given the mechanics, and CVSS 4.0 rates the confidentiality impact on the vulnerable system as High.
RemediationAI
Upgrade praisonaiagents to version 1.6.78 or later, which resolves the path traversal per the vendor security advisory (GHSA-4xxv-6wmf-xf45) via upstream commit 1620b49f36945d8cc8ee5635b906c960df5097a0 (https://github.com/MervinPraison/PraisonAI/commit/1620b49f36945d8cc8ee5635b906c960df5097a0). If immediate upgrade is not feasible, consider the following compensating controls with their trade-offs: (1) Disable the FastContext feature entirely if it is not required - this eliminates the attack surface but removes workspace-scoped file tool capabilities. (2) Restrict the agent process to a dedicated OS user account with filesystem access limited via Linux DAC or mandatory access controls (e.g., AppArmor, SELinux) to only the intended workspace directory - this limits traversal blast radius but requires OS-level configuration changes and does not fix the code defect. (3) In containerized deployments, mount only the workspace directory into the container filesystem - this is a strong containment measure but does not apply to bare-metal or VM-based deployments. Reference the vendor advisory at https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-4xxv-6wmf-xf45 for authoritative remediation guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PraisonAI is a Python-based multi-agent AI orchestration framework distributed as the praisonaiagents package (CPE: cpe:2.3:a:mervinpraison:praisonai:*:*:*:*:*:*:*:*). The FastContext feature (praisonaiagents.context.fast module) provides workspace-scoped file operations intended to sandbox agents to a configured workspace_path. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory): execute_tool() conditionally prepends workspace_path only when the supplied argument is detected as a relative path, but takes no action when an absolute path is supplied and does not canonicalize (resolve '..' components via os.path.realpath or equivalent) the resulting joined path before comparing it against the workspace boundary. Both bypass vectors - absolute path injection and '../' traversal sequences - therefore succeed unconditionally. File contents are returned directly to the caller or injected into the model's tool-result context window, making this particularly impactful in agentic pipelines where the model may autonomously generate malicious tool arguments.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable with low complexity; low privilege and required interaction confirmed by CVSS 4.0 PR:L/UI:P; high confidentiality impact only, no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
PraisonAI (praisonaiagents) before 1.6.78 contains a path traversal vulnerability in the FastContext feature (praisonaiagents.context.fast). FastContextAgent.execute_tool() prepends the configured workspace_path only for relative paths and neither rejects absolute paths nor canonicalizes joined paths before enforcing workspace containment. As a result, tool arguments or model-generated function calls to grep_search, glob_search, read_file, or list_directory can supply absolute paths or '../' traversal sequences to read, search, and enumerate files outside the intended workspace directory, with file contents returned to the caller or injected into the model's tool-result context.
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-42898
GHSA-3f4v-mp44-x4x2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB