{"cve":"CVE-2026-56839","nvd":{"published":"2026-09-14T16:17:12.977","modified":"2026-09-16T13:42:48.020","status":"Deferred","description":"PraisonAI is a multi-agent teams system. Prior to 4.6.59, the CODE_TOOLS wrappers keep _workspace_root as None and pass workspace=None to read_file, search_replace, and apply_diff helpers that enforce path containment only for a truthy workspace. An application that exposes code_read_file, code_search_replace, or code_apply_diff before set_workspace can therefore let prompt-influenced calls read and modify files outside the intended project directory, while explicitly configured workspaces remain effective. This vulnerability is fixed in 4.6.59.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","score":7.3},"cwes":["CWE-22","CWE-200","CWE-863"],"references":["https://github.com/MervinPraison/PraisonAI/commit/b4270173d4123fb1ee8910588f0896668ee21b59","https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.59","https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-gcq3-mfvh-3x25","https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-gcq3-mfvh-3x25"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:53:43.293028046+00:00"},"epss":{"cve":"CVE-2026-56839","score":0.00379,"percentile":0.31954,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-gcq3-mfvh-3x25","url":"https://osv.dev/vulnerability/GHSA-gcq3-mfvh-3x25","summary":"PraisonAI Code agent tools fail open without a workspace boundary","modified":"2026-07-23T15:11:31.605746203Z","packages":[{"ecosystem":"PyPI","name":"praisonai","purl":"pkg:pypi/praisonai","ranges":["<4.6.59"],"fixed":["4.6.59"]}]},{"id":"PYSEC-2026-3512","url":"https://osv.dev/vulnerability/PYSEC-2026-3512","summary":"PraisonAI Code agent tools fail open without a workspace boundary","modified":"2026-07-23T15:00:17.192131995Z","packages":[{"ecosystem":"PyPI","name":"praisonai","purl":"pkg:pypi/praisonai","ranges":["<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."]}