CVE-2026-56078
PraisonAI vulnerability analysis and mitigation

Overview

CVE-2026-56078 is a path traversal vulnerability in the MultiAgentMonitor component of PraisonAI, an autonomous multi-agent AI framework. The flaw allows authenticated attackers with low privileges to supply crafted agent IDs containing ../ sequences, enabling arbitrary file read, write, or overwrite operations outside the intended directory. All versions of PraisonAI prior to 1.5.115 are affected. It carries a CVSS v3.1 base score of 8.8 (High) and a CVSS v4.0 base score of 8.7 (High) (GitHub Advisory, GHSA-fwh2-95jw-g4j6). The vulnerability was published on June 18, 2026, and assigned by VulnCheck.

Technical details

The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), where MultiAgentMonitor constructs file paths by directly concatenating base_path with an unsanitized agent ID — for example, os.path.join(base_path, agent_id) — without validating or normalizing the result (GitHub Advisory). An attacker with low-privilege network access can supply an agent ID such as ../../etc/passwd or ../../malicious, causing the resolved path to escape the intended base_path directory. The vulnerability is located in examples/context/12_multi_agent_context.py at line 106. A companion issue (CWE-668) also exists in MultiAgentLedger, where agent ID collision allows cross-agent context leakage, but the path traversal is the higher-severity finding (GitHub Advisory).

Impact

Successful exploitation allows an authenticated low-privileged attacker to read arbitrary files from the server (e.g., credentials, configuration files, private keys), write or overwrite arbitrary files (potentially corrupting system files or planting malicious content), and in scenarios where executable or configuration files are overwritten, achieve remote code execution (GitHub Advisory, GHSA-fwh2-95jw-g4j6). In multi-tenant deployments, the companion memory state leakage issue additionally exposes sensitive agent context — including system prompts and conversation history — across agent boundaries. The combined impact covers high confidentiality, integrity, and availability loss on the vulnerable system.

Exploitation steps

  1. Reconnaissance: Identify PraisonAI deployments running versions prior to 1.5.115, accessible over the network. Obtain low-privilege credentials (e.g., via free account registration if the instance allows self-service sign-up).
  2. Authenticate: Log in to the PraisonAI instance with the low-privilege account to satisfy the PR:L requirement.
  3. Craft malicious agent ID: Construct an agent ID containing path traversal sequences, such as ../../etc/passwd (for file read) or ../../tmp/malicious_script.py (for file write/overwrite).
  4. Trigger MultiAgentMonitor: Submit a request that invokes MultiAgentMonitor.get_agent_monitor() with the crafted agent ID — for example, by registering or referencing an agent with the malicious ID through the API or SDK.
  5. Achieve file read/write: The monitor constructs the file path as os.path.join(base_path, '../../etc/passwd'), resolving to /etc/passwd or equivalent outside the intended directory. For read, observe the file contents returned or written to the monitor path. For write/overwrite, supply content to be written to the target path.
  6. Escalate to code execution (optional): Overwrite a Python script, cron job, or startup file within the application's execution context to achieve remote code execution (GitHub Advisory).

Indicators of compromise

  • Network: Authenticated API or SDK requests to PraisonAI endpoints that include agent IDs containing ../, ..\, %2e%2e%2f, or URL-encoded traversal sequences in parameters.
  • File System: Unexpected file creation or modification outside the PraisonAI base_path directory (e.g., in /tmp/, /etc/, or application root); new or modified files owned by the PraisonAI process account in sensitive directories.
  • Logs: Application logs showing agent IDs with traversal patterns (e.g., ../../) passed to get_agent_monitor(); file access or write errors referencing paths outside the expected base_path.
  • Process: Unusual file I/O activity by the PraisonAI Python process to system directories (/etc/, /var/, /home/) not normally accessed during agent operations.

Mitigation and workarounds

Update PraisonAI (praisonaiagents pip package) to version 1.5.115 or later, which contains the patch for this vulnerability (GitHub Advisory). As a workaround prior to patching, implement strict input validation on agent IDs: strip or reject any input containing ../, ..\, or absolute path characters, and use os.path.realpath() to resolve the final path, verifying it starts with the intended base_path. Additionally, apply the principle of least privilege to the PraisonAI process account to limit the blast radius of any file system access. Consider enforcing an allowlist of permitted characters (e.g., alphanumeric and underscores only) for agent IDs.

Community reactions

The vulnerability was noted on social media platforms including Bluesky and Twitter/X shortly after disclosure, primarily through automated CVE notification accounts (Bluesky post). VulnCheck published an advisory covering the path traversal aspect, and ENISA's EUVD catalogued the issue as EUVD-2026-37962. No significant independent researcher commentary or major media coverage has been identified beyond standard vulnerability database aggregation.

Additional resources


SourceThis report was generated using AI

Related PraisonAI vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-47396CRITICAL9.8
  • PraisonAI logoPraisonAI
  • praisonai
NoYesJul 21, 2026
CVE-2026-47394HIGH8.7
  • PraisonAI logoPraisonAI
  • praisonai
NoYesJul 21, 2026
CVE-2026-47398HIGH8.1
  • PraisonAI logoPraisonAI
  • praisonai
NoYesJul 21, 2026
CVE-2026-47397HIGH7.1
  • PraisonAI logoPraisonAI
  • praisonai
NoYesJul 21, 2026
CVE-2026-47395MEDIUM5.5
  • PraisonAI logoPraisonAI
  • praisonai
NoYesJul 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management