{"cve":"CVE-2026-57113","nvd":{"published":"2026-10-23T13:17:10.373","modified":"2026-10-23T15:17:33.910","status":"Deferred","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/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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","score":8.1},"cwes":["CWE-22","CWE-73"],"references":["https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-f44v-7qgw-9gh9"],"products":[],"source":"nvd","synced_at":"2026-10-23T16:39:28.036610720+00:00"},"epss":{"cve":"CVE-2026-57113","score":0.00405,"percentile":0.34464,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-f44v-7qgw-9gh9","url":"https://osv.dev/vulnerability/GHSA-f44v-7qgw-9gh9","summary":"PraisonAI GitHub template cache path traversal allows outside-cache file write and directory deletion","modified":"2026-07-23T15:11:51.000001185Z","packages":[{"ecosystem":"PyPI","name":"praisonai","purl":"pkg:pypi/praisonai","ranges":[">=2.6.0 <4.6.59"],"fixed":["4.6.59"]}]},{"id":"PYSEC-2026-3509","url":"https://osv.dev/vulnerability/PYSEC-2026-3509","summary":"PraisonAI GitHub template cache path traversal allows outside-cache file write and directory deletion","modified":"2026-07-23T15:00:20.836232453Z","packages":[{"ecosystem":"PyPI","name":"praisonai","purl":"pkg:pypi/praisonai","ranges":[">=2.6.0 <4.6.59"],"fixed":["4.6.59"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}