# CVE-2026-55527: PraisonAI: Arbitrary file write via unsanitized `user_id` in `FileMemory.__init__()` — path traversal to any writable location

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/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.32%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-08-25T15:09:07.500Z
- Modified: 2026-09-10T12:25:43.409Z
- Also known as: GHSA-gxmw-5f7x-6g22, PYSEC-2026-3902
- Weaknesses: CWE-22, CWE-73
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

PraisonAI is a multi-agent teams system. Prior to praisonaiagents 1.6.58, the FileMemory constructor joins unsanitized user_id into self.user_path. A caller supplying ../ or path separators can escape the memory directory and write JSON data to arbitrary process-writable locations. The fix sanitizes user_id before constructing self.user_path. This issue is fixed in version 1.6.58.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 1.6.58
- praisonaiagents (PyPI): before 1.6.58

## Every score

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

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-gxmw-5f7x-6g22> (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/praisonaiagents> (package)
- <https://github.com/advisories/GHSA-gxmw-5f7x-6g22> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55527> (advisory)

## Sources

- CVE List: [CVE-2026-55527](https://www.cve.org/CVERecord?id=CVE-2026-55527), CVE Terms of Use, modified 2026-08-25
- GitHub Advisory Database: [GHSA-gxmw-5f7x-6g22](https://github.com/advisories/GHSA-gxmw-5f7x-6g22), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-55527](https://nvd.nist.gov/vuln/detail/CVE-2026-55527), Public domain, modified 2026-09-09
- PyPA Advisory Database: [PYSEC-2026-3902](https://osv.dev/vulnerability/PYSEC-2026-3902), CC-BY-4.0, modified 2026-09-10

---

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