BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-39888 in Praisonai

Critical 9.9

PraisonAI is a multi-agent teams system. Prior to 1.5.115, execute_code() in praisonaiagents.tools.python_tools defaults to sandbox_mode="sandbox", which runs user code in a subprocess wrapped with a restricted __builtins__ dict and an AST-based blocklist. The AST blocklist embedded inside the subprocess wrapper (bl...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.9
EPSS0.6%
EPSS percentile46th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Praison Praisonai < 1.5.115

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

PraisonAI is a multi-agent teams system. Prior to 1.5.115, execute_code() in praisonaiagents.tools.python_tools defaults to sandbox_mode="sandbox", which runs user code in a subprocess wrapped with a restricted __builtins__ dict and an AST-based blocklist. The AST blocklist embedded inside the subprocess wrapper (blocked_attrs of python_tools.py) contains only 11 attribute names — a strict subset of the 30+ names blocked in the direct-execution path. The four attributes that form a frame-traversal chain out of the sandbox are all absent from the subprocess list (__traceback__, tb_frame, f_back, and f_builtins). Chaining these attributes through a caught exception exposes the real Python builtins dict of the subprocess wrapper frame, from which exec can be retrieved and called under a non-blocked variable name — bypassing every remaining security layer. This vulnerability is fixed in 1.5.115.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-39888
BreachSpider IDBS-2026-GLOBAL-151827-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Published2026-04-08
Last modified2026-07-24
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-657: CWE-657

CWE-693: CWE-693

Related attack patterns (CAPEC)

CAPEC-51 Poison Web Service Registry via CWE-693

CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data via CWE-693

CAPEC-59 Session Credential Falsification through Prediction via CWE-693

CAPEC-65 Sniff Application Code via CWE-693

CAPEC-107 Cross Site Tracing via CWE-693

Show all 17

CAPEC-127 Directory Indexing via CWE-693

CAPEC-237 Escaping a Sandbox by Calling Code in Another Language via CWE-693

CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content via CWE-693

CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-693

CAPEC-17 Using Malicious Files via CWE-693

CAPEC-20 Encryption Brute Forcing via CWE-693

CAPEC-36 Using Unpublished Interfaces or Functionality via CWE-693

CAPEC-87 Forceful Browsing via CWE-693

CAPEC-480 Escaping Virtualization via CWE-693

CAPEC-668 Key Negotiation of Bluetooth Attack (KNOB) via CWE-693

CAPEC-22 Exploiting Trust in Client via CWE-693

CAPEC-74 Manipulating State via CWE-693

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2026-39888 affects PraisonAI versions prior to 1.5.115, where the execute_code() function in praisonaiagents.tools.python_tools defaults to sandbox_mode="sandbox". Despite the use of a restricted __builtins__ dict and an AST-based blocklist, the limited number of blocked attributes may allow for code execution bypasses.

An attacker could exploit the insufficiently restrictive AST blocklist to execute arbitrary code within the sandboxed environment. This could lead to unauthorized access, data theft, or system compromise.

Questions

What is CVE-2026-39888?

CVE-2026-39888 affects PraisonAI versions prior to 1.5.115, where the execute_code() function in praisonaiagents.tools.python_tools defaults to sandbox_mode="sandbox". Despite the use of a restricted __builtins__ dict and an AST-based blocklist, the limited number of blocked attributes may allow for code execution bypasses.

What is the CVSS score for CVE-2026-39888?

CVE-2026-39888 has CVSS 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. EPSS: 0.6%.

Is CVE-2026-39888 actively exploited?

No confirmed active exploitation of CVE-2026-39888 as of 2026-07-25.

How do I remediate CVE-2026-39888?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-39888?

CVE-2026-39888 affects Praison Praisonai.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Praison","product":"Praisonai","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-24.