{"id":"CVE-2026-44339","summary":"PraisonAI has unsafe tool resolution in `ToolExecutionMixin.execute_tool`: undeclared `__main__` callables execute","details":"PraisonAI is a multi-agent teams system. Prior to praisonai version 4.6.37 and praisonaiagents version 1.6.37, praisonaiagents resolves unresolved tool names against module globals and __main__ after it fails to match the declared tool list and the registry. With the default agent configuration, _perm_allow is None, so undeclared non-dangerous tool names are not rejected by the permission gate. An attacker who can influence tool-call names can therefore invoke unintended application callables that were never declared as tools. This issue has been patched in praisonai version 4.6.37 and praisonaiagents version 1.6.37.","aliases":["GHSA-gmjg-hv98-qggq","PYSEC-2026-2915","PYSEC-2026-2948"],"modified":"2026-07-15T01:49:12.748837659Z","published":"2026-05-08T13:37:09.706Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-470"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44339.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"praisonaiagents \u003c 1.6.37"},{"last_affected":"praisonaiagents \u003c 1.6.37"}]}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44339.json"},{"type":"ADVISORY","url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-gmjg-hv98-qggq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44339"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mervinpraison/praisonai","events":[{"introduced":"d15c57d80c11cab856bd5dd15ff7880f19d2ccf2"},{"fixed":"d15c57d80c11cab856bd5dd15ff7880f19d2ccf2"}],"database_specific":{"extracted_events":[{"introduced":"praisonai \u003c 4.6.37"},{"last_affected":"praisonai \u003c 4.6.37"},{"introduced":"0"},{"fixed":"4.6.37"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:*"}}],"versions":["praisonai \u003c 4.6.37"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44339.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"}]}