CVE-2026-40156: PraisonAI is a multi-agent teams system
CVE-2026-40156 is a high-severity flaw (CVSS 7.8) affecting praisonai. 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. Prior to 4.5.128, PraisonAI automatically loads a file named tools.py from the current working directory to discover and register custom agent tools. This loading process uses importlib.util.spec_from_file_location and immediately executes module-level code via spec.loader.exec_module() without explicit user consent, validation, or sandboxing. The tools.py file is loaded implicitly, even when it is not ref
Why this priority
- High severity
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-40156?
praisonai: upgrade to 4.5.128. Exact commands for each OS are on this page.
Is CVE-2026-40156 being exploited?
CVE-2026-40156 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-40156 affect?
CVE-2026-40156 affects praisonai. Severity is high (CVSS 7.8). PraisonAI is a multi-agent teams system. Prior to 4.5.128, PraisonAI automatically loads a file named tools.py from the current working directory to discover and register custom agent tools. This loading process uses importlib.util.spec_fro
How urgent is CVE-2026-40156?
Priority 30/100. High severity
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