PatchSiren cyber security CVE debrief
CVE-2026-61437 MervinPraison CVE debrief
CVE-2026-61437 debrief: PraisonAI's unsafe dynamic module loading in AgentFlow allows attackers to execute arbitrary Python code via a crafted tools.py file. This vulnerability, located in the workflow structured output resolution logic, enables code execution when a workflow is run. PraisonAI users and developers must verify and update affected versions, review workflow security, and implement secure dynamic module loading practices to mitigate this risk. This involves reviewing the supplied official advisory, validating affected scope and severity, and planning vendor-supported updates or mitigations.
- Vendor
- MervinPraison
- Product
- praisonaiagents
- CVSS
- HIGH 8.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-08
- Original CVE updated
- 2026-10-15
- Advisory published
- 2026-10-08
- Advisory updated
- 2026-10-15
Who should care
PraisonAI users and developers, DevOps teams, and security professionals responsible for Python package management and workflow security should be aware of this vulnerability. They must take action to verify and update affected versions, review workflow security, and implement secure dynamic module loading practices to prevent potential code execution risks. This includes reviewing the supplied official advisory, validating affected scope and severity, and
Why it matters
CVE-2026-61437 allows attackers to execute arbitrary Python code via dynamic module loading in PraisonAI. PraisonAI users and developers should verify and update affected versions, review workflow security, and implement secure dynamic module loading practices.
- Potential for arbitrary code execution
- Risk of unauthorized workflow modifications
- Need for verification of affected versions and updates
Technical summary
The vulnerability is located in the workflow structured output resolution logic of PraisonAI, specifically in the AgentFlow._resolve_pydantic_class method. An attacker who can control a workflow file and a sibling tools.py can execute arbitrary Python code when the workflow is executed. This code execution risk arises from the unsafe dynamic module loading mechanism. PraisonAI users and developers should focus on verifying and updating affected versions, reviewing workflow security, and implementing secure dynamic module loading practices.
Defensive priority
High priority for PraisonAI users and developers to verify and update affected versions
Recommended defensive actions
- Verify and update PraisonAI to version 1.6.78 or later
- Review and restrict workflow file and tools.py access
- Implement secure dynamic module loading practices
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The vulnerability is located in the workflow structured output resolution logic of PraisonAI, specifically in the AgentFlow._resolve_pydantic_class method. An attacker who can control a workflow file and a sibling tools.py can execute arbitrary Python code when the workflow is executed.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-61437 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-61437
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-61437 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-61437
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
PraisonAI: Unsafe Dynamic Module Loading Leads to Arbitrary Code Execution via tools.py in Agent
Unverified legacy reference
URL: https://storage.googleapis.com/osv-vulnerabilities/PyPI/GHSA-4gfv-wg42-7jw5.json
osv_dev
-
Source reference
Unverified legacy reference
URL: https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-4gfv-wg42-7jw5
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/MervinPraison/PraisonAI
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/praisonai-before-remote-code-execution-via-tools-py
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.