CVE-2026-60088: PraisonAI: path traversal leaks files into LLM prompts
GHSA-xpx6-x8c2-mw5wMEDIUMCISA: TRACK*PraisonAI versions before 4.6.78 fail to validate file path references inside custom command templates, letting an attacker-crafted project file use traversal sequences (@../outside_secret.txt) or absolute paths to pull any process-readable file into the LLM prompt context. This is a local, user-interaction-required flaw (CVSS 5.5, AV:L/UI:R) rather than a remotely wormable bug, but the confidentiality impact is high and the target class — credentials, SSH keys, cloud tokens, .env files — is exactly what attackers want once they get a developer or CI agent to run a malicious PraisonAI project. There is no EPSS data, no CISA KEV listing, and no public exploit or scanner template yet, so exploitation-in-the-wild likelihood is currently low, but the vulnerability class (path traversal reaching secrets via an AI agent's own tooling) is trivial to weaponize once a proof of concept circulates. Upgrade to PraisonAI 4.6.78 or later immediately, and until patched, treat any third-party PraisonAI project/command template as untrusted code — review it before execution and run agent workloads under a restricted, least-privilege filesystem context. Security teams running AI agent frameworks should also add detection for anomalous file reads by agent processes outside their declared workspace root.
What is the risk?
Medium severity (CVSS 5.5) but high-confidence confidentiality impact: an attacker who gets a victim to load a malicious command template can read any file the PraisonAI process can access, with no privileges required. The requirement for user interaction and local attack vector caps the blast radius compared to a remote, unauthenticated bug, but AI agent developer tooling is frequently pointed at repos of unknown provenance (templates, examples, shared agent configs), which is precisely the trust boundary this bug breaks. No active exploitation, KEV listing, EPSS score, or public PoC currently exists, so this is a 'patch on the next maintenance cycle, don't page anyone' issue for most orgs — unless PraisonAI runs with access to high-value secrets (cloud credentials, CI tokens), in which case treat it as higher priority.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| PraisonAI | pip | <= 4.6.77 | 4.6.78 |
Do you use PraisonAI? You're affected.
How severe is it?
What is the attack surface?
What should I do?
1 stepUpgrade PraisonAI to 4.6.78 or later immediately (fix commit: github.com/MervinPraison/PraisonAI/commit/3aa9cbc). Until patched: do not run PraisonAI command templates or projects sourced from untrusted repos, PRs, or shared templates without manual review of any @-path or file references. Run PraisonAI agent processes under a restricted OS user / container with minimal filesystem access (no read access to credential stores, SSH keys, cloud config directories). Audit process logs / prompt logs for file paths outside the expected project workspace, and specifically watch for traversal sequences (../) or absolute paths in command template content ingested by CI or automation pipelines. Rotate any credentials that may have been readable by a PraisonAI process prior to patching if provenance of run templates is uncertain.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-60088?
PraisonAI versions before 4.6.78 fail to validate file path references inside custom command templates, letting an attacker-crafted project file use traversal sequences (@../outside_secret.txt) or absolute paths to pull any process-readable file into the LLM prompt context. This is a local, user-interaction-required flaw (CVSS 5.5, AV:L/UI:R) rather than a remotely wormable bug, but the confidentiality impact is high and the target class — credentials, SSH keys, cloud tokens, .env files — is exactly what attackers want once they get a developer or CI agent to run a malicious PraisonAI project. There is no EPSS data, no CISA KEV listing, and no public exploit or scanner template yet, so exploitation-in-the-wild likelihood is currently low, but the vulnerability class (path traversal reaching secrets via an AI agent's own tooling) is trivial to weaponize once a proof of concept circulates. Upgrade to PraisonAI 4.6.78 or later immediately, and until patched, treat any third-party PraisonAI project/command template as untrusted code — review it before execution and run agent workloads under a restricted, least-privilege filesystem context. Security teams running AI agent frameworks should also add detection for anomalous file reads by agent processes outside their declared workspace root.
Is CVE-2026-60088 actively exploited?
No confirmed active exploitation of CVE-2026-60088 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-60088?
Upgrade PraisonAI to 4.6.78 or later immediately (fix commit: github.com/MervinPraison/PraisonAI/commit/3aa9cbc). Until patched: do not run PraisonAI command templates or projects sourced from untrusted repos, PRs, or shared templates without manual review of any @-path or file references. Run PraisonAI agent processes under a restricted OS user / container with minimal filesystem access (no read access to credential stores, SSH keys, cloud config directories). Audit process logs / prompt logs for file paths outside the expected project workspace, and specifically watch for traversal sequences (../) or absolute paths in command template content ingested by CI or automation pipelines. Rotate any credentials that may have been readable by a PraisonAI process prior to patching if provenance of run templates is uncertain.
What systems are affected by CVE-2026-60088?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, developer/CI automation tooling, local AI agent execution.
What is the CVSS score for CVE-2026-60088?
CVE-2026-60088 has a CVSS v3.1 base score of 5.5 (MEDIUM). The EPSS exploitation probability is 0.22%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0011User ExecutionAML.T0025Exfiltration via Cyber MeansAML.T0037Data from Local SystemCompliance Controls Affected
What are the technical details?
Original Advisory
PraisonAI before 4.6.78 fails to validate file path references in custom command templates, allowing attackers to read files outside the workspace. Attackers can include path traversal sequences like @../outside_secret.txt or absolute paths in project command files to exfiltrate process-readable files into model prompts.
Exploitation Scenario
An attacker publishes or contributes a seemingly legitimate PraisonAI agent project (e.g., a shared automation template on GitHub or an internal wiki) containing a custom command file that references a path like @../../.env or an absolute path such as @/home/user/.aws/credentials. A developer or CI pipeline clones the project and runs the associated PraisonAI command as part of normal workflow (user interaction satisfied). PraisonAI resolves the path without validating it stays inside the project workspace, reads the target file, and injects its full contents into the prompt sent to the LLM. The secret material now appears in the model's context and potentially in its response or in prompt/response logs; if the agent has any outbound tool (webhook call, email send, API request), the attacker can chain that access to exfiltrate the credentials off the victim's machine entirely through the agent's own legitimate tooling.
Weaknesses (CWE)
CWE-200Exposure of Sensitive Information to an Unauthorized ActorPrimaryCWE-22Improper Limitation of a Pathname to a Restricted DirectoryPrimaryCWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')PrimaryCWE-22Improper Limitation of a Pathname to a Restricted DirectoryCWE-200 — Exposure of Sensitive Information to an Unauthorized Actor: The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
- [Architecture and Design] Compartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NReferences
- github.com/MervinPraison/PraisonAI/commit/3aa9cbc2bd49c23a32be0a89a5e620d13d843eab
- github.com/MervinPraison/PraisonAI/security/advisories/GHSA-xpx6-x8c2-mw5w
- vulncheck.com/advisories/praisonai-before-path-traversal-via-custom-commands
- github.com/advisories/GHSA-xpx6-x8c2-mw5w
- nvd.nist.gov/vuln/detail/CVE-2026-60088
Timeline
Related Vulnerabilities
CVE-2026-4816810.0PraisonAI: shell injection in Claude Action enables RCE
Same package: praisonaiCVE-2026-6144710.0PraisonAI: RCE via unsandboxed LLM code execution
Same package: praisonaiCVE-2026-614459.9PraisonAI: AICoder root RCE via unsanitized tool calls
Same package: praisonaiGHSA-vmmj-pfw7-fjwp9.9praisonai: sandbox escape gives RCE via codeMode tool
Same package: praisonaiCVE-2026-473929.9praisonaiagents: RCE via Python sandbox bypass
Same package: praisonai