OVERVIEW CVE-2026-39888 is a critical sandbox escape vulnerability in PraisonAI versions prior to 1.5.115 that affects the execute_code() function in the python_tools module. The vulnerability exists in the subprocess-based code sandbox implementation, which uses a restricted builtins dictionary and an AST-based blocklist to prevent malicious code execution. However, the subprocess blocklist is significantly less comprehensive than the direct-execution path blocklist, missing four critical attributes (\_\_traceback\_\_, tb_frame, f_back, and f_builtins) that form a frame-traversal chain. SEVERITY The vulnerability carries a CVSS v3.1 score of 9.9 CRITICAL with network-based attack vector, low attack complexity, and low privilege requirements. An authenticated attacker can exploit this through frame traversal by chaining the missing attributes through a caught exception to expose the real Python builtins dictionary of the subprocess wrapper frame. Once accessed, the attacker can retrieve and execute the exec function under non-blocked variable names, completely bypassing all remaining security layers. The impact includes high confidentiality, integrity, and availability compromise with scope change, potentially affecting the entire system. EXPLOITATION STATUS There is no evidence of active exploitation in the wild, as the vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and remains inactive on the Hot List. The EPSS score of 0.00099 indicates this is currently a lower priority threat compared to other vulnerabilities in the ecosystem. However, given the critical severity and straightforward exploitation mechanism involving standard Python frame attributes, organizations using affected PraisonAI versions should prioritize upgrading to version 1.5.115 or later.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 1.5.115CPE matchmatch criteria | cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 1.0 Bluesky, 0.5 Mastodon, and 1.6 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.