> CVE-2026-40153 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-04-09 22:16
MODIFIED
2026-04-09 22:16
CVSS_SCORE V3
7.4
EPSS (Prob. Exploit)
0.39%
Top 68.4%
DATA SOURCES:
NVD đź”— 2026-04-09 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-11-05

> DESCRIPTION

PraisonAIAgents is a multi-agent teams system. Prior to 1.5.128, the execute_command function in shell_tools.py calls os.path.expandvars() on every command argument at line 64, manually re-implementing shell-level environment variable expansion despite using shell=False (line 88) for security. This allows exfiltration of secrets stored in environment variables (database credentials, API keys, cloud access keys). The approval system displays the unexpanded $VAR references to human reviewers, creating a deceptive approval where the displayed command differs from what actually executes. This vulnerability is fixed in 1.5.128.

> 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:R/S:C/C:H/I:N/A:N
EXPLOITABILITY
2.8
IMPACT
4.0

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
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
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
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
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-526

> CWE DETAILED DESCRIPTIONS

CWE-526: Cleartext Storage of Sensitive Information in an Environment Variable - The product uses an environment variable to store unencrypted sensitive information.

> GITHUB SECURITY ADVISORY

GHSA-v8g7-9q6v-p3x8 HIGH

PraisonAIAgents: Environment Variable Secret Exfiltration via os.path.expandvars() Bypassing shell=False in Shell Tool

AFFECTED PACKAGES:
PIP / praisonaiagents
< 1.5.128
Fixed in: 1.5.128

> HISTORIQUE DES MODIFICATIONS

Première apparition
09/04/2026 22:16
Source: NVD
📊 ENRICHISSEMENT 01/05/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-526: Cleartext Storage of Sensitive Information in an Environment Variable - The product uses an environment variable to store unencrypted sensitive information.
Total des modifications: 1 Dernière mise à jour: 6 months ago

> REFERENCES

https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-v8g7-9q6v-p3...
« BACK_TO_HOME