CVE-2026-45018
Last modified
CVE-2026-45018 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.65% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Chainlit | chainlit | >= 2.4.0rc0, < 2.12.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-45018?
How severe is CVE-2026-45018?
How do I fix CVE-2026-45018?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-45010phpMyFAQ before 4.1.2 contains an improper restriction of ex…9.3
- CVE-2026-45011ApostropheCMS is an open-source Node.js content management s…7.3
- CVE-2026-45012ApostropheCMS is an open-source Node.js content management s…7.6
- CVE-2026-45013ApostropheCMS is an open-source Node.js content management s…8.1
- CVE-2026-45014ApostropheCMS is an open-source Node.js content management s…5.3
- CVE-2026-45017Python Liquid is a Python engine for the Liquid template lan…7.5
- CVE-2026-45019Chainlit is a Python framework for building production-ready…7.2
- CVE-2026-4502IBM Langflow Desktop 1.2.0 through 1.8.4 Langflow could allo…6.5
- CVE-2026-45021Kuma is a modern Envoy-based service mesh that can run on ev…5.1
- CVE-2026-45022go-git is an extensible git implementation library written i…7.5
- CVE-2026-45023AutoGPT is a workflow automation platform for creating, depl…5.4
- CVE-2026-45025WeGIA is a web manager for charitable institutions. In versi…6.8
Are you affected by CVE-2026-45018?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
