# CVE-2026-55540: PraisonAI: [Path Traversal] agent tools escape the configured workspace via symlinks

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L`
- 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.39%, higher than 25% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-25T14:54:32.407Z
- Modified: 2026-09-10T12:25:53.622Z
- Also known as: GHSA-ch89-h4r2-c8f8, PYSEC-2026-3888
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

PraisonAI is a multi-agent teams system. Prior to praisonai 4.6.51, is_path_within_directory() uses os.path.abspath() rather than os.path.realpath() for the workspace boundary. A symlink inside workspace can point outside and still pass the check, allowing read_file and other code tools to access files outside the configured workspace. This issue is fixed in version 4.6.58.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 4.6.58
- praisonai (PyPI): before 4.6.58

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L`
- PyPA Advisory Database: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-ch89-h4r2-c8f8> (exploit, web)
- <https://github.com/MervinPraison/PraisonAI/commit/2f9677abb2ea68eab864ee8b6a828fd0141612e1> (web)
- <https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.58> (web)
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://pypi.org/project/praisonai> (package)
- <https://github.com/advisories/GHSA-ch89-h4r2-c8f8> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55540> (advisory)

## Sources

- CVE List: [CVE-2026-55540](https://www.cve.org/CVERecord?id=CVE-2026-55540), CVE Terms of Use, modified 2026-08-27
- GitHub Advisory Database: [GHSA-ch89-h4r2-c8f8](https://github.com/advisories/GHSA-ch89-h4r2-c8f8), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-55540](https://nvd.nist.gov/vuln/detail/CVE-2026-55540), Public domain, modified 2026-09-09
- PyPA Advisory Database: [PYSEC-2026-3888](https://osv.dev/vulnerability/PYSEC-2026-3888), CC-BY-4.0, modified 2026-09-10

---

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