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

High 8.1 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-57113?

CVE-2026-57113 is a high-severity vulnerability in MervinPraison PraisonAI, published on 23 Oct 2026.

Official description

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/[email protected]. 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.

Weakness: CWE-73, CWE-22

Which versions are affected by CVE-2026-57113?

3 open source packages ship an affected version, including praisonai.

PackageAffectedFixed in
praisonai PyPIFrom 2.6.04.6.59
praisonai PyPIFrom 2.6.04.6.59
praisonai PyPIFrom 2.6.04.6.59

How do I fix CVE-2026-57113?

Upgrade praisonai to 4.6.59 or later.

Is CVE-2026-57113 being exploited?

There is no known exploitation of CVE-2026-57113 in the wild and no public exploit code.

Sources

Also known as GHSA-f44v-7qgw-9gh9, PYSEC-2026-3509.

Is CVE-2026-57113 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free