HighVulnerability
GHSA-78r8-wwqv-r299: PraisonAI: Arbitrary code execution via unguarded `spec.loader.exec_module` in `agents_generator.py` - sibling of CVE-2026-44334
- Identifiers
- CVE-2026-47398GHSA-78r8-wwqv-r299
- Published
- Record updated
- Affected
- PraisonAI <= 4.6.39
- Fixed in
- 4.6.40
- released May 19, 2026, 10 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.6%
Summary
PraisonAI's v4.6.32 refactor, which patched CVE-2026-44334 / GHSA-xcmw-grxf-wjhj by adding the PRAISONAI_ALLOW_LOCAL_TOOLS gate to tool_override.py, missed two spec.loader.exec_module call sites in praisonai/agents_generator.py. The functions load_tools_from_module and load_tools_from_module_class pass a module_path from YAML configuration to exec_module with no gate, no allowlist and no validation, and the source says this remains unguarded on master (v4.6.37). A module_path set through a recipe fetched via POST /v1/recipes/run can therefore lead to arbitrary code execution during tool registry construction, before any LLM call.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Related items
- HighCVE-2026-138118: HyperSpy insecure deserialization via crafted .hspy or .zspy filesSimilar attack · NVD/CVE Database
- MediumCVE-2026-138033: mcp-video-analyzer server-side request forgery via video URL inputsSimilar attack · NVD/CVE Database
- HighCVE-2026-138028: Bagel (bagel-mcp) before 2.5.5 contains an argument injection vulnerability in RsyncFilesToLocalDirectory that allows…Similar attack · NVD/CVE Database
- MediumSwitzerland Confirms AI-Assisted Cyberattacks Breached Critical Infrastructure OperatorsSimilar attack · The Hacker News
- MediumCVE-2026-137668: ONNX ONNXMLTools cross site scripting in visualize_model via producer_nameSimilar attack · NVD/CVE Database