Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/MervinPraison/PraisonAI/commit/2f9677abb2ea68eab864ee8b6a828f
- https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.58
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-ch89-h4r2-c8
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-ch89-h4r2-c8
FAQ
What is CVE-2026-55540?
CVE-2026-55540 is a vulnerability with a CVSS score of 7.1 (HIGH). 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 worksp...
How severe is CVE-2026-55540?
CVE-2026-55540 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-55540?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.