Arbitrary Code Injection Affecting praisonai package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.08% (25th percentile)

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-15954210
  • published9 Apr 2026
  • disclosed8 Apr 2026
  • creditDorjsambuu

Introduced: 8 Apr 2026

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

How to fix?

A fix was pushed into the master branch but not yet published.

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 execute_code function. An attacker can gain unauthorized access to the host environment, execute arbitrary commands, read and write files, exfiltrate environment variables, and perform other malicious actions by submitting specially crafted code that exploits insufficient attribute blocking in the sandboxed subprocess execution.

CVSS Base Scores

version 4.0
version 3.1