Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPlace malicious .praisoncontext or .praisoninclude in target workspace
-
DeliveryVictim invokes PraisonAI context gathering
-
ExploitContextGatherer resolves unvalidated traversal path
-
ExecutionArbitrary local file read succeeds
-
PersistSensitive file contents embedded in context bundle
-
ImpactData exfiltrated via AI API call or log exposure
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 that a victim run PraisonAI's ContextGatherer against a workspace containing a .praisoncontext or .praisoninclude file that has been planted or modified by the attacker to include absolute paths or parent-directory traversal sequences. User interaction is explicitly required (UI:P per CVSS 4.0) - the victim must invoke PraisonAI context gathering; this does not trigger automatically on file presence alone. The attack vector is local (AV:L), meaning the attacker must be able to place or influence files on the system or in a project directory the victim processes (e.g., via a poisoned git repository, shared network drive, or social engineering). Exploitation is limited to reading files accessible under the OS permissions of the user running PraisonAI; it does not by itself grant elevated privileges. No special PraisonAI feature flag or non-default configuration is required - any use of the ContextGatherer with .praisoncontext or .praisoninclude files is affected. |
| Impact | The CVSS 4.0 base score of 6.8 (Medium) reflects a meaningful but constrained threat. Key mitigating signals: AV:L (local attack vector - the attacker must be able to place or influence files in a workspace the victim processes), UI:P (user interaction required - a developer or automated pipeline must actively invoke PraisonAI's context gathering), and the impact is confined to confidentiality (VC:H) with no integrity or availability impact (VI:N/VA:N). The attack is not remotely triggerable against a default-configured networked service; it depends on a victim processing attacker-controlled project files. This pattern fits supply chain or repository poisoning scenarios rather than opportunistic internet scanning. The vulnerability is not in CISA KEV, EPSS data was not provided, and no POC has been identified - collectively suggesting low probability of widespread active exploitation. Despite the clean PR:N metric, real-world exploitation still requires placing malicious workspace files, which implies some level of positioning. The primary risk is for developers or CI/CD pipelines ingesting untrusted PraisonAI project repositories. |
| Exploit ScenarioDerived | An attacker embeds a malicious .praisoninclude file containing an absolute path such as /etc/passwd or a traversal sequence like ../../../../home/user/.ssh/id_rsa in a shared project repository or contributed workspace. When a developer or automated CI pipeline runs PraisonAI context gathering against that repository, ContextGatherer reads and incorporates the sensitive file contents into the generated context bundle, which may then be transmitted to an external AI API endpoint, written to logs, or returned to the attacker if they control the downstream context consumer. No public exploit code has been identified at time of analysis, but the attack requires only standard file crafting and 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 ContextGatherer component (all versions before 4.6.78) allows an attacker who can supply or manipulate .praisoncontext or .praisoninclude files to read arbitrary files outside the intended workspace directory, including sensitive system files accessible to the user running PraisonAI. The vulnerability stems from a complete absence of path validation before file inclusion, permitting both absolute paths and relative traversal sequences. No active exploitation has been confirmed (not listed in CISA KEV), and no public exploit code has been identified at time of analysis; however, the attack is conceptually simple and requires no special tooling once an attacker can influence project workspace files.
RemediationAI
Upgrade PraisonAI to version 4.6.78 or later; this is the vendor-confirmed fix version per the CVE description. The upstream code change is available at commit 1620b49f36945d8cc8ee5635b906c960df5097a0 (https://github.com/MervinPraison/PraisonAI/commit/1620b49f36945d8cc8ee5635b906c960df5097a0) and the full advisory is at https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-q7m5-3jmv-vm48. As a compensating control prior to patching, avoid running PraisonAI's context gathering against untrusted or externally sourced project directories; in CI/CD pipelines, restrict which repositories are permitted to supply .praisoncontext and .praisoninclude files and audit any such files before execution. Note that restricting CI pipeline inputs introduces workflow friction and does not address the root cause.
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
PraisonAI (CPE: cpe:2.3:a:mervinpraison:praisonai:*:*:*:*:*:*:*:*) is a Python-based AI agent orchestration framework. Its ContextGatherer component reads .praisoncontext and .praisoninclude configuration files to assemble a context bundle passed to the AI model. CWE-22 (Path Traversal) identifies the root cause: the component fails to canonicalize or restrict file paths supplied in these config files before opening them on the local filesystem. Without checks such as resolving symlinks and confirming the resolved path remains within the workspace root, attackers can supply sequences like ../../../../etc/passwd or absolute paths like /etc/shadow to escape the workspace boundary. The resulting file contents are silently incorporated into the context bundle, potentially leaking sensitive material to whoever receives or logs that bundle.
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:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Local vector with required user interaction to process workspace files; no integrity or availability impact, only high confidentiality loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
PraisonAI before 4.6.78 contains a path traversal vulnerability in ContextGatherer that fails to validate include paths in .praisoncontext and .praisoninclude files. Attackers can supply absolute paths or parent directory traversal sequences to read arbitrary files outside the workspace and include their contents in the generated context bundle.
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-42897
GHSA-q7m5-3jmv-vm48
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB