# CVE-2026-44340: PraisonAI: Symlink-extraction bypass of `_safe_extractall` writes outside `dest_dir`

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-08T13:38:47.812Z
- Modified: 2026-07-13T16:42:29.244Z
- Also known as: GHSA-9q28-ghcr-c4x3, PYSEC-2026-2909
- Weaknesses: CWE-22, CWE-59
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 4.6.37
- praisonai (PyPI): before 4.6.37
- praison praisonai: before 4.6.37

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-9q28-ghcr-c4x3> (exploit, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44340> (advisory)
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://pypi.org/project/praisonai> (package)
- <https://github.com/advisories/GHSA-9q28-ghcr-c4x3> (advisory)

## Sources

- CVE List: [CVE-2026-44340](https://www.cve.org/CVERecord?id=CVE-2026-44340), CVE Terms of Use, modified 2026-05-08
- GitHub Advisory Database: [GHSA-9q28-ghcr-c4x3](https://github.com/advisories/GHSA-9q28-ghcr-c4x3), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-44340](https://nvd.nist.gov/vuln/detail/CVE-2026-44340), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2909](https://osv.dev/vulnerability/PYSEC-2026-2909), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-44340 · Whole record: https://cve.day/CVE-2026-44340.json · Rebuilt by cve.day 2026-11-25T22:59:21.015Z
