{"id":"CVE-2026-44340","published":"2026-05-08T13:38:47Z","modified":"2026-05-08T23:22:36Z","title":"PraisonAI: Symlink-extraction bypass of `_safe_extractall` writes outside `dest_dir`","vendor":"MervinPraison","product":"PraisonAI","tier":"tail","description":{"text":"PraisonAI is a multi-agent teams system. Prior to version 4.6.37, the _safe_extractall helper that all recipe pull, recipe publish, and recipe unpack flows route through validates each archive member's name for absolute paths, .. segments, and resolved-path escape — but does not validate member.linkname, does not reject symlink/hardlink members, and calls tar.extractall(dest_dir) without filter=\"data\". A bundle that contains a symlink with a name inside dest_dir but a linkname pointing outside it, followed by a regular file whose path traverses through the just-created symlink, escapes dest_dir and lets the attacker write arbitrary content to an attacker-chosen location on the victim's filesystem. This issue has been patched in version 4.6.37.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00433,"percentile":0.38466,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-9q28-ghcr-c4x3","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":7.69},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["< 4.6.37"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-08T23:22:13.047002Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"PraisonAI","vulnerableRanges":["<4.6.37"],"patched":["4.6.37"],"from":["GHSA-9q28-ghcr-c4x3","PYSEC-2026-2909"],"provenance":"source"}],"summary":{"text":"PraisonAI, a multi-agent teams system, has a flaw in its _safe_extractall helper, which the recipe pull, publish, and unpack flows all use: it does not validate archive symlink or hardlink targets and extracts without the \"data\" filter, so archive contents can be written outside the destination directory. An attacker who can supply a crafted recipe bundle that a victim pulls or unpacks can, with no authentication or user interaction beyond that action, write arbitrary content to an attacker-chosen location on the victim's filesystem.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:29Z"},"euvd":{"id":"EUVD-2026-28643","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-44336","published":"2026-05-08","fixed":"4.6.34","kev":false,"link":{"from":"CVE-2026-44336","to":"CVE-2026-44340","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:PraisonAI","fromFixed":"4.6.34","toFixed":"4.6.37","daysApart":0}]}},{"cve":"CVE-2026-44337","published":"2026-05-08","fixed":"4.6.34","kev":false},{"cve":"CVE-2026-44338","published":"2026-05-08","fixed":"4.6.34","kev":false},{"cve":"CVE-2026-44339","published":"2026-05-08","fixed":"4.6.37","kev":false},{"cve":"CVE-2026-44340","published":"2026-05-08","fixed":"4.6.37","kev":false},{"cve":"CVE-2026-47390","published":"2026-07-21","fixed":"4.6.40","kev":false},{"cve":"CVE-2026-47391","published":"2026-07-21","fixed":"4.6.40","kev":false},{"cve":"CVE-2026-47392","published":"2026-07-21","fixed":"4.6.40","kev":false}],"package":"PyPI:PraisonAI"}}