Skip to main content

Praisonai CVE-2026-40149

| EUVDEUVD-2026-21168 HIGH
Declaration of Catch for Generic Exception (CWE-396)
2026-04-09 GitHub_M GHSA-4wr3-f4p3-5wjh
7.9
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send unauthenticated request to /api/approval/allow-list endpoint
  2. Exploit
    Add dangerous tool names to allowlist
  3. Execution
    ExecApprovalManager auto-approves tool invocations
  4. Impact
    Bypass human-in-the-loop safety mechanism

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Specific exception catching
Exploitation Conditions

PraisonAI versions prior to 4.5.128 with default configuration (no auth_token configured). Remote unauthenticated attacker can modify /api/approval/allow-list endpoint to add dangerous tool names (shell_exec, file_write) to bypass human approval safety mechanism.

Impact

Local unauthenticated access to gateway endpoint permits direct allowlist manipulation, bypassing safety controls for dangerous tool execution. CVSS 7.9 reflects high integrity impact and cross-system scope. Critical in shared environments where local attackers exist; lower risk if gateway is network-isolated. Default misconfiguration amplifies exposure.

Exploit ScenarioDerived

Attacker with local access sends unauthenticated POST to /api/approval/allow-list, adding 'shell_exec' to allowlist. Subsequent agent requests for shell execution auto-approve without human review, enabling arbitrary command execution. No authentication or code execution required for initial compromise.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 09, 2026

Unauthenticated modification of the tool approval allowlist in PraisonAI multi-agent system (versions prior to 4.5.128) enables attackers to bypass human-in-the-loop safety controls by injecting dangerous tool names (shell_exec, file_write) into the allowlist via the /api/approval/allow-list gateway endpoint. The ExecApprovalManager then auto-approves agent invocations of these tools, circumventing the approval mechanism's core security function. Attack requires local access; no public exploit identified at time of analysis. CVSS 7.9 reflects high integrity impact with scope change due to compromised safety boundaries in agent workflows.

RemediationAI

Vendor-released patch: upgrade to PraisonAI version 4.5.128 or later, which enforces authentication requirements on the /api/approval/allow-list endpoint. Immediately configure auth_token parameter in gateway settings to enable access controls prior to upgrading. Review approval allowlists for unauthorized entries (shell_exec, file_write, arbitrary code execution tools) and purge suspicious additions. Audit agent execution logs for auto-approved tool invocations during the vulnerable period. Implement network segmentation to restrict gateway API access to authorized management interfaces only. Full advisory and patch details: https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-4wr3-f4p3-5wjh

Affected VersionsENISA

PraisonAI < 4.5.128

Affected Packages

pypi praisonai fix: 4.5.128

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-396 (Declaration of Catch for Generic Exception) indicates improper exception handling enabling authentication bypass when auth_token remains unconfigured. Default deployment exposes API endpoint without access controls, permitting arbitrary allowlist manipulation. Vulnerability originates from missing authentication enforcement in gateway approval logic affecting PraisonAI cpe:2.3:a:mervinpraison:praisonai:*:*:*:*:*:*:*:*.

Know when Praisonai gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 7.9 HIGH
AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch released
Apr 10, 2026 - 20:30 nvd
Patch available
CVE Published
Apr 09, 2026 - 21:23 nvd
HIGH 7.9

DescriptionGitHub Advisory

PraisonAI is a multi-agent teams system. Prior to 4.5.128, the gateway's /api/approval/allow-list endpoint permits unauthenticated modification of the tool approval allowlist when no auth_token is configured (the default). By adding dangerous tool names (e.g., shell_exec, file_write) to the allowlist, an attacker can cause the ExecApprovalManager to auto-approve all future agent invocations of those tools, bypassing the human-in-the-loop safety mechanism that the approval system is specifically designed to enforce. This vulnerability is fixed in 4.5.128.

Executive ViewAI

Why It Matters

PraisonAI versions prior to 4.5.128 contain a high-severity vulnerability allowing attackers with local access to bypass critical safety controls by modifying tool approval settings, potentially enabling unauthorized execution of dangerous operations such as shell commands and file modifications. Organizations using PraisonAI for multi-agent workflows face direct compromise of their human-approval security boundaries, creating risk of unauthorized system access and data manipulation through automated agent actions.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to /api/approval/allow-list endpoint using firewall or API gateway rules to authorized administrators only; (2) Implement comprehensive audit logging and monitoring of all tool approval allowlist modifications with real-time alerting; (3) Enforce principle of least privilege for local access to PraisonAI systems; (4) Manually audit current tool approval allowlist for unexpected or dangerous tool entries (shell_exec, file_write, etc.) and remove any suspicious additions; (5) Consider disabling auto-approval functionality and enforcing explicit human approval for all tool invocations as a temporary control.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-57139 CRITICAL POC
9.8 Sep 15

PraisonAI's TypeScript MCP server (npm package `praisonai`, versions 1.5.0 through 1.7.1) exposes an HTTP JSON-RPC trans

CVE-2026-55536 CRITICAL POC
9.1 Aug 25

WebSocket origin-validation bypass in PraisonAI's Browser Server (praisonai/browser/server.py) before 4.6.58 lets an att

CVE-2026-55541 HIGH POC
8.8 Aug 25

PraisonAI's `praisonai serve` subsystem (agents and unified modes) accepts an `--api-key` CLI flag that is parsed but ne

CVE-2026-55534 HIGH POC
8.6 Aug 25

Unauthenticated remote agent invocation in PraisonAI versions 4.6.34 through 4.6.57 allows any network-reachable caller

CVE-2026-55526 HIGH POC
8.5 Aug 25

SSRF protection bypass in PraisonAI's praisonaiagents library (all versions before 1.6.58) lets low-privileged users rou

CVE-2026-55533 HIGH POC
8.2 Aug 25

Authentication fail-open in PraisonAI's Recipe HTTP server allows unauthenticated remote attackers to invoke recipe exec

CVE-2026-55528 HIGH POC
8.2 Aug 25

Authentication bypass in PraisonAI's AgentServer component exposes all routes - /publish, /events, /info, /health - to u

CVE-2026-55522 HIGH POC
7.8 Aug 05

Arbitrary Python code execution in PraisonAI's workflow include feature allows an attacker who controls a local recipe d

CVE-2026-55523 HIGH POC
7.7 Aug 05

Server-side request forgery in PraisonAI's web_crawl() function (versions 1.5.128-1.6.57) allows an attacker who can inf

CVE-2026-55532 HIGH POC
7.6 Aug 25

Cross-site request forgery against the PraisonAI MCP HTTP-stream transport allows unauthenticated remote attackers to ex

CVE-2026-44338 HIGH POC
7.3 May 08

Remote unauthenticated access to PraisonAI's legacy Flask API server allows attackers to execute configured agent workfl

CVE-2026-55527 HIGH POC
7.1 Aug 25

Path traversal in praisonaiagents prior to 1.6.58 allows a low-privileged caller to write arbitrary JSON files to any pr

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy