> CVE-2026-57141 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2026-09-15 11:17
MODIFIED
2026-09-15 11:17
CVSS_SCORE V3
9.8
EPSS (Prob. Exploit)
0.75%
Top 46.1%
DATA SOURCES:
NVD đź”— 2026-09-15 CWE MITRE đź”— 2026-10-01 FIRST EPSS đź”— 2026-10-18 GITHUB đź”— 2026-10-15 OSV đź”— 2026-10-26

> DESCRIPTION

PraisonAI is a multi-agent teams system. Prior to 1.7.2, the codeMode tool in src/praisonai-ts/src/tools/builtins/code-mode.ts executes model-generated JavaScript with new Function() and with(sandbox), while a regular-expression blocklist can be bypassed with Function('return this')() to recover the global object and by constructing the child_process module name dynamically. An attacker who can influence the code argument can access host process capabilities, read or write files, obtain environment credentials, and execute operating-system commands with the PraisonAI process privileges. This issue is fixed in version 1.7.2.

> 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:N/UI:N/S:U/C:H/I:H/A:H
EXPLOITABILITY
3.9
IMPACT
5.9

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/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
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre 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-94

> CWE DETAILED DESCRIPTIONS

CWE-94: Improper Control of Generation of Code ('Code Injection') - The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

> GITHUB SECURITY ADVISORY

GHSA-p69m-4f92-2v84 CRITICAL

PraisonAI: Remote Code Execution via Sandbox Escape in `codeMode` Tool

AFFECTED PACKAGES:
NPM / praisonai
<= 1.7.1
Fixed in: 1.7.2

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

PraisonAI: Remote Code Execution via Sandbox Escape in `codeMode` Tool

AFFECTED PACKAGES:
Unknown / Unknown
583 versions affected
ALIASES:
GHSA-p69m-4f92-2v84

> HISTORIQUE DES MODIFICATIONS

Première apparition
15/09/2026 11:17
Source: NVD
📊 ENRICHISSEMENT 01/10/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-94: Improper Control of Generation of Code ('Code Injection') - The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not n...
Total des modifications: 1 Dernière mise à jour: 3 weeks ago

> REFERENCES

https://github.com/MervinPraison/PraisonAI/commit/709a0387853709a5e2f2c34680fa64...
https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.60
https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-p69m-4f92-2v...
« BACK_TO_HOME