CVE-2026-57113

published 23 Oct 2026 · updated 23 Oct 2026

PraisonAI GitHub template cache path traversal allows outside-cache file write and directory deletion

8.1HighCVSS 8.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

PraisonAI is a multi-agent teams system. From version 2.6.0 to before version 4.6.59, PraisonAI's template loader accepts GitHub template URIs with refs, for example github:owner/repo/template@v1.0.0. The resolver stores the user-controlled template path and ref verbatim, and the cache layer later joins those values into ~/.praison/cache/templates/github/<owner>/<repo>/<template>/<ref> without normalizing each segment or checking that the final path remains inside the template cache root. A crafted ref such as ../../../../../../outside-delete-target therefore escapes the cache directory. The first load can write .cache_meta.json outside the cache. If the normal cache hierarchy for the same owner/repo/template has already been created, the same path reaches shutil.rmtree(cache_path) and removes an attacker-selected outside directory before replacing it with cache metadata. This issue has been patched in version 4.6.59.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MervinPraison>=2.6.0 <4.6.59

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-57113 severity on Zeptric[![CVE-2026-57113](https://zeptric.io/badge/cve/CVE-2026-57113.svg)](https://zeptric.io/cve/CVE-2026-57113)