Arbitrary Code Injection Affecting praisonai package, versions <1.7.2


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-PRAISONAI-17660574
  • published27 Jun 2026
  • disclosed18 Jun 2026
  • creditsondt99

Introduced: 18 Jun 2026

NewCVE-2026-57141  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade praisonai to version 1.7.2 or higher.

Overview

praisonai is a PraisonAI TypeScript AI Agents Framework - Node.js, npm, and Javascript AI Agents Framework

Affected versions of this package are vulnerable to Arbitrary Code Injection via the codeMode process. An attacker can execute arbitrary code on the host system by bypassing the intended sandbox restrictions using crafted input that evades the blocklist and accesses the global object.

References

CVSS Base Scores

version 4.0
version 3.1