PT-2026-81486
CVE-2026-45018
·
تاريخ النشر
2026-08-25
·
تاريخ التحديث
2026-11-11
الوصف من
CVSS 3.1
9.8
حرجةالمقاييسAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Chainlit versions 2.4.0rc0 through 2.11.9
Description
Deployments with
features.mcp.enabled set to true in .chainlit/config.toml expose the 'POST /mcp' endpoint without authentication. For stdio transport, the endpoint accepts a user-controlled fullCommand string. The validate mcp command() function in backend/chainlit/mcp.py only verifies the executable name against config.features.mcp.stdio.allowed executables and passes unchecked arguments to StdioServerParameters in backend/chainlit/server.py. Since npx supports the -c argument, an attacker can execute arbitrary shell commands with the privileges of the Chainlit process. If allowed executables is unset, the default value allows every executable.Recommendations
Update to version 2.12.0.
As a temporary mitigation, set
features.mcp.enabled to false in .chainlit/config.toml or restrict access to the 'POST /mcp' endpoint.قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾