Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-57113
Published:July 20, 2026
Updated:August 27, 2026
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 is distinct from the old template Zip Slip advisory. No malicious archive member is needed, and the PoV disables network access entirely. The bug is in cache-key construction for GitHub template URIs.
Affected Packages
praisonai (PYTHON):
Affected version(s) >=2.6.0 <4.6.59
Fix Suggestion:
Update to version 4.6.59
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
External Control of File Name or Path