<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 28 Sep 2026 19:11:22 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-45018 — Chainlit: Command injection via MCP stdio transport allows unauthenticated remote code execution</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-45018</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; chainlit&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; chainlit&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-45018</guid>
    </item>
    <item>
      <title>PYSEC-2026-3812 — Chainlit has command injection via MCP stdio transport that allows unauthenticated remote code execution</title>
      <link>https://vulnerability.circl.lu/vuln/pysec-2026-3812</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: chainlit&lt;/p&gt;
&lt;p&gt;### Am I affected?&lt;/p&gt;
&lt;p&gt;Only if your deployment sets `features.mcp.enabled = true` in `.chainlit/config.toml`. **MCP has been disabled by default since v2.7.0**, so most Chainlit deployments are not affected. No authentication is required: `/mcp` is reachable by any client that can open a session.&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;When MCP is enabled (`features.mcp.enabled = true`), the `POST /mcp` endpoint for `stdio` transport accepts a user-controlled `fullCommand` string. The `validate_mcp_command()` function checks the executable name against a configurable allowlist but does not inspect or restrict the arguments. An attacker can pass `npx -y -c &amp;#39;ARBITRARY COMMAND&amp;#39;` to execute arbitrary shell commands on the server with the privileges of the Chainlit process.&lt;/p&gt;
&lt;p&gt;### Affected / patched versions&lt;/p&gt;
&lt;p&gt;| | |
|---|---|
| CVE | CVE-2026-45018 |
| Affected | `&amp;gt;=2.4.0rc0, &amp;lt;2.12.0` with `features.mcp.enabled = true` (introduced in PR #1977, the change that added MCP support) |
| Patched | **2.12.0** (releasing 2026-08-25) |&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;`validate_mcp_command()` in `backend/chainlit/mcp.py` uses `shlex.split()` to parse the command string and validates only the executable name (e.g., `npx`, `uvx`) against `config.features.mcp.stdio.allowed_executables`. Arguments are returned unchecked and passed directly to `StdioServerParameters`, which spawns a subprocess.&lt;/p&gt;
&lt;p&gt;Since `npx` supports `-c` for arbitrary shell execution, `npx -y -c &amp;#39;PAYLOAD&amp;#39;` passes the allowlist check while running whatever the attacker specifi…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: chainlit&lt;/p&gt;
&lt;p&gt;### Am I affected?&lt;/p&gt;
&lt;p&gt;Only if your deployment sets `features.mcp.enabled = true` in `.chainlit/config.toml`. **MCP has been disabled by default since v2.7.0**, so most Chainlit deployments are not affected. No authentication is required: `/mcp` is reachable by any client that can open a session.&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;When MCP is enabled (`features.mcp.enabled = true`), the `POST /mcp` endpoint for `stdio` transport accepts a user-controlled `fullCommand` string. The `validate_mcp_command()` function checks the executable name against a configurable allowlist but does not inspect or restrict the arguments. An attacker can pass `npx -y -c &amp;#39;ARBITRARY COMMAND&amp;#39;` to execute arbitrary shell commands on the server with the privileges of the Chainlit process.&lt;/p&gt;
&lt;p&gt;### Affected / patched versions&lt;/p&gt;
&lt;p&gt;| | |
|---|---|
| CVE | CVE-2026-45018 |
| Affected | `&amp;gt;=2.4.0rc0, &amp;lt;2.12.0` with `features.mcp.enabled = true` (introduced in PR #1977, the change that added MCP support) |
| Patched | **2.12.0** (releasing 2026-08-25) |&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;`validate_mcp_command()` in `backend/chainlit/mcp.py` uses `shlex.split()` to parse the command string and validates only the executable name (e.g., `npx`, `uvx`) against `config.features.mcp.stdio.allowed_executables`. Arguments are returned unchecked and passed directly to `StdioServerParameters`, which spawns a subprocess.&lt;/p&gt;
&lt;p&gt;Since `npx` supports `-c` for arbitrary shell execution, `npx -y -c &amp;#39;PAYLOAD&amp;#39;` passes the allowlist check while running whatever the attacker specifi…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/pysec-2026-3812</guid>
    </item>
  </channel>
</rss>
