CVE-2026-40287: PraisonAI is a multi-agent teams system
CVE-2026-40287 is a high-severity flaw (CVSS 8.4) affecting praisonai, praisonaiagents. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
PraisonAI is a multi-agent teams system. Versions 4.5.138 and below are vulnerable to arbitrary code execution through automatic, unsanitized import of a tools.py file from the current working directory. Components including call.py (import_tools_from_file()), tool_resolver.py (_load_local_tools()), and CLI tool-loading paths blindly import ./tools.py at startup without any validation, sandboxing, or user confirmation. An attacker who can place a
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40287?
praisonai: upgrade to 4.5.139; praisonaiagents: upgrade to 1.5.140. Exact commands for each OS are on this page.
Is CVE-2026-40287 being exploited?
CVE-2026-40287 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40287 affect?
CVE-2026-40287 affects praisonai, praisonaiagents. Severity is high (CVSS 8.4). PraisonAI is a multi-agent teams system. Versions 4.5.138 and below are vulnerable to arbitrary code execution through automatic, unsanitized import of a tools.py file from the current working directory. Components including call.py (import
How urgent is CVE-2026-40287?
Priority 38/100. High severity; Public exploit reference
Related CVEs
- CVE-2026-40288 CRITICAL 9.8 UPGRADE UPGRADE PraisonAI is a multi-agent teams system
- CVE-2026-40289 CRITICAL 9.1 UPGRADE UPGRADE PraisonAI is a multi-agent teams system
- CVE-2026-40315 CRITICAL 9.8 UPGRADE PraisonAI is a multi-agent teams system
- CVE-2026-40116 HIGH 7.5 UPGRADE PraisonAI is a multi-agent teams system
- CVE-2026-40113 HIGH 8.4 UPGRADE PraisonAI is a multi-agent teams system