JavaScript Execution Vulnerability in PraisonAI by Mervin Praison
CVE-2026-57138

9.9CRITICAL

Key Information:

Status
Vendor
CVE Published:
15 September 2026

What is CVE-2026-57138?

The PraisonAI multi-agent system is vulnerable to a JavaScript execution flaw that affects versions from 1.4.0 to 1.7.2. The codeMode tool executes untrusted JavaScript using new Function() within a sandbox environment. However, due to insufficient restrictions, attackers who manipulate the codeMode input can exploit this vulnerability to regain access to the real Function constructor. This access enables them to interact with the underlying filesystem and subprocess APIs, potentially leading to unauthorized file modifications, command execution, and secret retrieval. The issue has been addressed in version 1.7.2.

Affected Version(s)

PraisonAI >= 1.4.0, < 1.7.2

References

CVSS V3.1

Score:
9.9
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.