# CVE-2026-60088: MervinPraison PraisonAI path traversal in custom command templates

Source: https://junglewise.ai/threats/cve-2026-60088-mervinpraison-praisonai-path-traversal-in-custom-command  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-11. Updated: 2026-07-11  
License: CC BY 4.0 with a link back

CVE-2026-60088 · Severity: medium · CVSS 5.5 · Published 2026-07-11

PraisonAI, an AI agent framework, contains a vulnerability in how it handles custom command templates. If a user runs a command from a malicious project repository, the software can be tricked into reading sensitive files from the user's computer (such as configuration files or SSH keys) and sending them to the AI model provider. This could lead to the unauthorized exposure of private data to third-party AI services.

Technologies: [praisonai (PyPI)](https://junglewise.ai/threats/technologies/pypi-praisonai). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-60088 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-60088 being exploited in the wild.

**How severe is CVE-2026-60088?** Medium severity, with a CVSS score of 5.5, published 11 July 2026.

**Which products and versions are affected?** praisonai (PyPI) <= 4.6.77, ECOSYSTEM:introduced=0,fixed=4.6.78.

**Is there a fix for CVE-2026-60088?** Yes. praisonai (PyPI): upgrade to 4.6.78 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-60088 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2026-60088?** Check whether you run praisonai (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- praisonai (PyPI): upgrade to 4.6.78 or later

  ```sh
  pip install "praisonai>=4.6.78"
  ```


## Technical details

A path traversal vulnerability exists in PraisonAI's custom command feature within `src/praisonai/praisonai/cli/features/custom_definitions.py`. The `TemplateInterpolator._interpolate_files()` method processes `@path` references by joining them with the current working directory without performing canonicalization or containment checks. An attacker can craft a malicious `.praisonai/commands/*.md` file in a repository that uses `../` sequences or absolute paths to reference files outside the project root. When a user executes `praisonai run --command <name>`, the application reads the targeted files and includes their contents in the prompt sent to the LLM. This issue was addressed in version 4.6.78.

## Affected products

- MervinPraison PraisonAI < 4.6.78

## Identifiers

- CVE-2026-60088
- GHSA-xpx6-x8c2-mw5w
- PYSEC-2026-4261

## Timeline

- 2026-06-25: advisory: GitHub Security Advisory published
- 2026-07-11: disclosed: NVD publication date

## References

- [https://github.com/MervinPraison/PraisonAI/commit/3aa9cbc2bd49c23a32be0a89a5e620d13d843eab](https://github.com/MervinPraison/PraisonAI/commit/3aa9cbc2bd49c23a32be0a89a5e620d13d843eab)
- [https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-xpx6-x8c2-mw5w](https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-xpx6-x8c2-mw5w)
- [https://www.vulncheck.com/advisories/praisonai-before-path-traversal-via-custom-commands](https://www.vulncheck.com/advisories/praisonai-before-path-traversal-via-custom-commands)

## Related threats

- [PraisonAI authentication bypass in A2U event streaming](https://junglewise.ai/threats/cve-2026-57146-praisonai-a2u-incomplete-authentication-fix-leaves-current-serve)
- [PraisonAI sandbox escape when Landlock unavailable](https://junglewise.ai/threats/cve-2026-57144-praisonai-sandlocksandbox-falls-back-to-unrestricted-subprocess)
- [PraisonAI recipe policy bypass via YAML-approved tools](https://junglewise.ai/threats/cve-2026-57142-praisonai-recipe-workflow-policy-can-be-bypassed-by-declaring-and)
- [PraisonAI shell command injection in compute-bridged file tools](https://junglewise.ai/threats/cve-2026-57117-praisonai-compute-bridged-file-tools-allow-shell-command)
- [PraisonAI AgentOS authentication bypass in FastAPI deployment](https://junglewise.ai/threats/cve-2026-57116-praisonai-agentos-remains-unauthenticated-after-incomplete-fix)
