Incorrect Authorization 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

Threat Intelligence

Social Trends

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-17660577
  • published27 Jun 2026
  • disclosed18 Jun 2026
  • creditrexpository

Introduced: 18 Jun 2026

NewCVE-2026-57137  (opens in a new tab)
CWE-693  (opens in a new tab)
CWE-862  (opens in a new tab)
CWE-863  (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 Incorrect Authorization due to the approval callback onToolCall being invoked only after the execution of tools in the AgentLoop process. An attacker can trigger unauthorized tool execution by submitting prompts that cause the model to call tools which are intended to be denied by the approval callback, resulting in potential file modification, command execution, external API calls, data mutation, credential use, or other side effects with the privileges of the hosting process.

CVSS Base Scores

version 4.0
version 3.1