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

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). 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
    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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.