{"id":"CVE-2026-47397","published":"2026-07-21T15:57:25Z","modified":"2026-07-23T14:25:50Z","title":"PraisonAI has an Arbitrary File Write in Python API","vendor":"MervinPraison","product":"PraisonAI","tier":"tail","description":{"text":"PraisonAI is a multi-agent teams system. Prior to version 4.6.40, hidden metadata in a webpage causes PraisonAI agents to write attacker-controlled content to arbitrary paths. `write_file` skips path validation when `workspace=None` (always `None` in production). Version 4.6.40 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00455,"percentile":0.40334,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-hvhp-v2gc-268q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MervinPraison/PraisonAI/pull/1684","tags":["x_refsource_MISC"]},{"url":"https://github.com/MervinPraison/PraisonAI/commit/b0d8f777528f3253a0cfb0a3ef65455da6ae32f6","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":8.07},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["< 4.6.40"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-23T14:25:47.720177Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"PraisonAI","vulnerableRanges":["<4.6.40"],"patched":["4.6.40"],"from":["GHSA-hvhp-v2gc-268q","PYSEC-2026-2916"],"provenance":"source"}],"summary":{"text":"PraisonAI, a multi-agent teams system, has an arbitrary file write flaw in its Python API: the write_file function skips path validation when no workspace is set, which is the case in production. An attacker who can get hidden metadata into a webpage that PraisonAI agents process can make the agents write attacker-controlled content to arbitrary paths, requiring low privileges and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:07Z"},"euvd":{"id":"EUVD-2026-46305","exploited":false,"provenance":"source"}}