{"id":11661,"date":"2026-09-04T18:53:46","date_gmt":"2026-09-04T10:53:46","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-45018"},"modified":"2026-09-04T18:53:46","modified_gmt":"2026-09-04T10:53:46","slug":"cve-2026-45018","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-45018","title":{"rendered":"CVE-2026-45018 [CRITICAL] &#8211; Chainlit is a Python framework for building production-ready conversational AI application"},"content":{"rendered":"<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-11661","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/11661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}