CVE & CISA-KEV Catalog

CVE-2026-39888

CRITICAL
9.9
CVSS v3
NVD

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.

How to fix

Remediation Available
praisonaiNVD
Affected:< 1.5.115Fixed in:1.5.115CVE-2026-39888derived from NVD

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Exploit Intelligence

0.54%probability of exploitation in 30 days
42ndpercentile

Moderate risk: more likely to be exploited than 42% of all known CVEs.

References

Vendor Advisory1

Related Vulnerabilities

Other CWE-657 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-29320High7.84.6%-Fix
CVE-2022-28244Medium6.33.5%--
CVE-2021-44714Low2.52.5%--
CVE-2021-28583High7.51.9%-Fix
CVE-2017-6032Medium5.31.7%--
CVE-2021-36061Medium5.41.6%--
Embed a live status badge for CVE-2026-39888
CVE-2026-39888 severity badge

Markdown

[![CVE-2026-39888](https://tridentstack.com/cve/badge/CVE-2026-39888.svg)](https://tridentstack.com/cve/CVE-2026-39888)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-39888"><img src="https://tridentstack.com/cve/badge/CVE-2026-39888.svg" alt="CVE-2026-39888"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-15.