Protection Mechanism Failure Affecting praisonai package, versions >=1.4.0 <1.7.2


Severity

Recommended
0.0
high
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 IDSNYK-JS-PRAISONAI-17660575
  • published27 Jun 2026
  • disclosed18 Jun 2026
  • creditrexpository

Introduced: 18 Jun 2026

NewCVE-2026-57138  (opens in a new tab)
CWE-184  (opens in a new tab)
CWE-693  (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 Protection Mechanism Failure via the codeMode process. An attacker can execute arbitrary code with the privileges of the host Node.js process by supplying specially crafted input that escapes the intended sandbox restrictions, allowing access to environment variables, filesystem operations, and subprocess execution.

References

CVSS Base Scores

version 4.0
version 3.1