Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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

Announced Group revision 1
Original source ↗

CVE-2026-57113

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-57113

PraisonAI

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "MervinPraison",
    "product": "PraisonAI",
    "versions": [
      {
        "status": "affected",
        "version": ">= 2.6.0, < 4.6.59"
      }
    ]
  }
]
Related CVEs
CVE-2026-57113

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#53045 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement