CVE-2026-44339: CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in MervinPraison PraisonAI
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.
AI Analysis
Technical Summary
PraisonAI versions before 4.6.37 and praisonaiagents before 1.6.37 contain an unsafe reflection vulnerability (CWE-470) where unresolved tool names are resolved against module globals and __main__ if not found in the declared tool list or registry. The default configuration (_perm_allow is None) does not prevent undeclared tool names from being used, allowing attackers who can influence tool-call names to invoke unintended application callables. This can lead to unauthorized code execution or manipulation within the application context. The vulnerability has a CVSS 3.1 score of 8.6 (high severity) with network attack vector, low attack complexity, no privileges or user interaction required, and impacts confidentiality (low), integrity (high), and availability (low). The issue is fixed in PraisonAI 4.6.37 and praisonaiagents 1.6.37.
Potential Impact
An attacker able to control tool-call names can invoke unintended application callables that were never declared as tools, potentially leading to unauthorized code execution or manipulation of application behavior. The vulnerability impacts confidentiality, integrity, and availability to varying degrees as indicated by the CVSS vector. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix is available in PraisonAI version 4.6.37 and praisonaiagents version 1.6.37. Users should upgrade to these versions or later to remediate this vulnerability. Patch status is not explicitly stated beyond the version fix; therefore, verify with the vendor advisory for the latest remediation guidance.
CVE-2026-44339: CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in MervinPraison PraisonAI
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.
CVSS v3.1
Score 8.6high
Affected software
pkg:github/mervinpraison/PraisonAIpkg:github/mervinpraison/praisonaiagentsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
PraisonAI versions before 4.6.37 and praisonaiagents before 1.6.37 contain an unsafe reflection vulnerability (CWE-470) where unresolved tool names are resolved against module globals and __main__ if not found in the declared tool list or registry. The default configuration (_perm_allow is None) does not prevent undeclared tool names from being used, allowing attackers who can influence tool-call names to invoke unintended application callables. This can lead to unauthorized code execution or manipulation within the application context. The vulnerability has a CVSS 3.1 score of 8.6 (high severity) with network attack vector, low attack complexity, no privileges or user interaction required, and impacts confidentiality (low), integrity (high), and availability (low). The issue is fixed in PraisonAI 4.6.37 and praisonaiagents 1.6.37.
Potential Impact
An attacker able to control tool-call names can invoke unintended application callables that were never declared as tools, potentially leading to unauthorized code execution or manipulation of application behavior. The vulnerability impacts confidentiality, integrity, and availability to varying degrees as indicated by the CVSS vector. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix is available in PraisonAI version 4.6.37 and praisonaiagents version 1.6.37. Users should upgrade to these versions or later to remediate this vulnerability. Patch status is not explicitly stated beyond the version fix; therefore, verify with the vendor advisory for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-05T19:52:59.147Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fdede9cbff5d8610dd28db
Added to database: 05/08/2026, 14:06:33 UTC
Last enriched: 05/08/2026, 14:21:29 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 110
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.