> CVE-2026-45018 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2026-08-25 20:16
MODIFIED
2026-08-25 20:16
CVSS_SCORE V3
9.8
EPSS (Prob. Exploit)
1.09%
Top 35.3%
DATA SOURCES:
NVD đź”— 2026-08-25 CWE MITRE đź”— 2026-09-01 FIRST EPSS đź”— 2026-10-18 GITHUB đź”— 2026-10-15 OSV đź”— 2026-10-26

> DESCRIPTION

Chainlit is a Python framework for building production-ready conversational AI applications. From 2.4.0rc0 until 2.12.0, Chainlit deployments with features.mcp.enabled set to true in .chainlit/config.toml expose the POST /mcp endpoint without requiring authentication. For stdio transport, the endpoint accepts a user-controlled fullCommand string. The validate_mcp_command() function in backend/chainlit/mcp.py checks only the executable name against config.features.mcp.stdio.allowed_executables and passes unchecked arguments to StdioServerParameters in backend/chainlit/server.py. Because npx supports the -c argument, an attacker can execute arbitrary shell commands with the privileges of the Chainlit process. If allowed_executables is unset, its None default is treated as allowing every executable. This issue is fixed in version 2.12.0.

> 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-78

> CWE DETAILED DESCRIPTIONS

CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') - The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

> GITHUB SECURITY ADVISORY

GHSA-w3fx-mc44-mf6j CRITICAL

Chainlit has command injection via MCP stdio transport that allows unauthenticated remote code execution

AFFECTED PACKAGES:
PIP / chainlit
>= 2.4.0rc0, <= 2.11.1
Fixed in: 2.12.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Chainlit: Command injection via MCP stdio transport allows unauthenticated remote code execution

AFFECTED PACKAGES:
Unknown / Unknown
41 versions affected
ALIASES:
GHSA-w3fx-mc44-mf6j, PYSEC-2026-3812

> HISTORIQUE DES MODIFICATIONS

Première apparition
25/08/2026 20:16
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') - The product constructs all or part of an OS command using externally-influenced input from an upstr...
Total des modifications: 1 Dernière mise à jour: 1 month ago

> REFERENCES

https://github.com/Chainlit/chainlit/blob/2.12.0/docs/security-advisory-2026-mcp...
https://github.com/Chainlit/chainlit/commit/0565fd0eccb915fce159929598b053ed79f6...
https://github.com/Chainlit/chainlit/releases/tag/2.12.0
https://github.com/Chainlit/chainlit/security/advisories/GHSA-w3fx-mc44-mf6j
https://github.com/Chainlit/chainlit/security/advisories/GHSA-w3fx-mc44-mf6j
« BACK_TO_HOME