# CVE-2026-57113: PraisonAI template loader path traversal in cache

Source: https://junglewise.ai/threats/cve-2026-57113-praisonai-github-template-cache-path-traversal-allows-outside  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-23. Updated: 2026-10-23  
License: CC BY 4.0 with a link back

CVE-2026-57113 · Severity: high · CVSS 8.1 · Published 2026-10-23

PraisonAI is a multi-agent framework that loads project templates from GitHub. An attacker can craft a malicious template URI that escapes the local template cache directory, allowing them to write files or delete directories anywhere the PraisonAI process can access. This could lead to corruption of user data, application state, or system files if the process runs with elevated privileges.

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

## Quick answers

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

**How severe is CVE-2026-57113?** High severity, with a CVSS score of 8.1, published 23 October 2026.

**Which products and versions are affected?** Mervin Praison PraisonAI 2.6.0 to before 4.6.59; praisonai (PyPI) ECOSYSTEM:introduced=2.6.0,fixed=4.6.59.

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

**How is CVE-2026-57113 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-57113?** Check whether you run Mervin Praison PraisonAI or 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.59 or later

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


## Technical details

The template resolver accepts GitHub URIs with user-controlled refs (e.g., github:owner/repo/template@../../../../../../target) and passes them verbatim to the cache layer without path normalization or validation. The cache construction joins these segments into ~/.praison/cache/templates/github/&lt;owner&gt;/&lt;repo&gt;/&lt;template&gt;/&lt;ref&gt; without checking that the final path remains within the cache root. Exploitation requires the attacker to supply a URI (via CLI, config, or service input) that the user or application loads; a prior cache entry for the same owner/repo/template causes shutil.rmtree() to delete the escaped target before replacing it with metadata.

## Affected products

- Mervin Praison PraisonAI 2.6.0 to before 4.6.59

## Identifiers

- CVE-2026-57113
- GHSA-f44v-7qgw-9gh9
- PYSEC-2026-3509

## Timeline

- 2026-06-17: disclosed
- 2026-06-17: patched

## References

- [https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-f44v-7qgw-9gh9](https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-f44v-7qgw-9gh9)

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