> CVE-2026-47392 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2026-07-21 16:17
MODIFIED
2026-07-21 16:17
CVSS_SCORE V3
9.9
EPSS (Prob. Exploit)
0.88%
Top 41.1%
DATA SOURCES:
NVD đź”— 2026-07-21 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-11-05 OSV đź”— 2026-07-27

> DESCRIPTION

PraisonAI is a multi-agent teams system. Prior to version 4.6.40 of PraisonAI, corresponding to version 1.6.40 of praisonaiagents, `execute_code()` in `praisonaiagents/tools/python_tools.py` (v1.6.37, subprocess sandbox mode) can be fully bypassed using `print.__self__` to retrieve the real Python `builtins` module, from which `__import__` can be extracted via `vars()` and runtime string construction. This achieves arbitrary OS command execution on the host, completely defeating the sandbox. This is a novel bypass that survives all patches for CVE-2026-39888 (frame traversal), CVE-2026-34938 (str subclass), and CVE-2026-40158 (`type.__getattribute__` trampoline). PraisonAI version 4.6.40 and praisonaiagents version 1.6.40 contain an updated fix.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EXPLOITABILITY
3.1
IMPACT
6.0

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-184 CWE-693

> CWE DETAILED DESCRIPTIONS

CWE-184: Incomplete List of Disallowed Inputs - The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete. | CWE-693: Protection Mechanism Failure - The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.

> GITHUB SECURITY ADVISORY

GHSA-4mr5-g6f9-cfrh CRITICAL

PraisonAI vulnerable to sandbox escape via `print.__self__` builtins module leak in `execute_code` (subprocess mode)

AFFECTED PACKAGES:
PIP / PraisonAI
<= 4.6.39
Fixed in: 4.6.40
PIP / praisonaiagents
<= 1.6.39
Fixed in: 1.6.40

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

PraisonAI vulnerable to sandbox escape via `print.__self__` builtins module leak in `execute_code` (subprocess mode)

AFFECTED PACKAGES:
Unknown / Unknown
564 versions affected
ALIASES:
GHSA-4mr5-g6f9-cfrh, PYSEC-2026-463, PYSEC-2026-483

> HISTORIQUE DES MODIFICATIONS

Première apparition
21/07/2026 16:17
Source: NVD
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-184: Incomplete List of Disallowed Inputs - The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise requ...
Total des modifications: 1 Dernière mise à jour: 3 months ago

> REFERENCES

https://github.com/MervinPraison/PraisonAI/commit/b0d8f777528f3253a0cfb0a3ef6545...
https://github.com/MervinPraison/PraisonAI/pull/1684
https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-4mr5-g6f9-cf...
« BACK_TO_HOME