CVE Explorer
CVE-2026-40156
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 referenced in configuration files or explicitly reque
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-426","description":"CWE-426: Untrusted Search Path","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d49a2a37c7e98b6f9bfae85c7614189940733b7efda135390fa8b66172e95212 · sha256:5b8294c22a6ca720… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d49a2a37c7e98b6f9bfae85c7614189940733b7efda135390fa8b66172e95212 · sha256:5b8294c22a6ca720… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-829","description":"CWE-829: Inclusion of Functionality from Untrusted Control Sphere","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d49a2a37c7e98b6f9bfae85c7614189940733b7efda135390fa8b66172e95212 · sha256:5b8294c22a6ca720… · /containers/cna/problemTypes/2/descriptions/0
Affected products and versions
1 source assertion{"product":"PraisonAI","vendor":"MervinPraison","versions":[{"status":"affected","version":"< 4.5.128"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d49a2a37c7e98b6f9bfae85c7614189940733b7efda135390fa8b66172e95212 · sha256:5b8294c22a6ca720… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d49a2a37c7e98b6f9bfae85c7614189940733b7efda135390fa8b66172e95212 · sha256:5b8294c22a6ca720… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-426","description":"CWE-426: Untrusted Search Path","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d49a2a37c7e98b6f9bfae85c7614189940733b7efda135390fa8b66172e95212 · sha256:5b8294c22a6ca720… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d49a2a37c7e98b6f9bfae85c7614189940733b7efda135390fa8b66172e95212 · sha256:5b8294c22a6ca720… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-829","description":"CWE-829: Inclusion of Functionality from Untrusted Control Sphere","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d49a2a37c7e98b6f9bfae85c7614189940733b7efda135390fa8b66172e95212 · sha256:5b8294c22a6ca720… · /containers/cna/problemTypes/2/descriptions/0
Source references
2 source assertions{"name":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-2g3w-cpc4-chr4","tags":["x_refsource_CONFIRM"],"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-2g3w-cpc4-chr4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d49a2a37c7e98b6f9bfae85c7614189940733b7efda135390fa8b66172e95212 · sha256:5b8294c22a6ca720… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-2g3w-cpc4-chr4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d49a2a37c7e98b6f9bfae85c7614189940733b7efda135390fa8b66172e95212 · sha256:5b8294c22a6ca720… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.