CVE-2026-57113
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.
Properties
- Severity
- HIGH
- Nvd fetched at
- 2026-10-23T14:24:59.572098+00:00
- Cvss severity
- HIGH
- Cvss score
- 8.1
- Retrieved at
- 2026-10-23T14:28:01+00:00
- Score
- 8.1
- Cvss version
- 3.1
- Last source
- NVD
- Cve id
- CVE-2026-57113
- Cvss vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- First seen by Signal
- 2026-10-23T14:28:01+00:00
- Name
- CVE-2026-57113
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- Published at
- 2026-10-23T13:17:10.373
- Last modified
- 2026-10-23T13:17:10.497
Related Entities (2)
HAS_WEAKNESS (2)
Explore deeper with Ninja Signal's threat intelligence graph