Chainlit contain a server-side request forgery (SSRF) vulnerability
CVE-2026-22219 · GHSA-2g59-m95p-pgfq · published 2026-01-20 · updated 2026-02-02
- Severity
- High
- CVSS score
- 7.7
- Chance of exploitation (EPSS)
- 5.2%
- Fixed in
- 2.9.4
- Exploitation No known exploitation
- Automatable Yes
- Technical impact Partial
- CISA SSVC
Chainlit versions prior to 2.9.4 contain a server-side request forgery (SSRF) vulnerability in the /project/element update flow when configured with the SQLAlchemy data layer backend. An authenticated client can provide a user-controlled url value in an Element, which is fetched by the SQLAlchemy element creation logic using an outbound HTTP GET request. This allows an attacker to make arbitrary HTTP requests from the Chainlit server to internal network services or cloud metadata endpoints and store the retrieved responses via the configured storage provider.
Upgrade chainlit to 2.9.4 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| chainlit | PyPI | < 2.9.4 | 2.9.4 |
- CriticalMLflow: Unauthenticated full-read SSRF in webhook delivery: _validate_webhook_url bypassed via unvalidated HTTP redirects (and DNS rebindingmlflowExploited
- Critical@zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery@zereight/mcp-gitlab
- CriticalSSRF + LLM API key exfiltration via user-controlled basepath / baseUrl in 8 chat-model nodesflowise, flowise-components
- CriticalLocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLsgithub.com/mudler/LocalAI
- CriticalFastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerabilityfastmcp
- CriticalBentoML SSRF Vulnerability in File Upload Processingbentoml
- CriticalChainlit has command injection via MCP stdio transport that allows unauthenticated remote code executionchainlit
- CriticalChainlit contains a session hijacking vulnerabilitychainlit
- HighChainlist has SSRF via MCP SSE and streamable-http transports that allows unauthenticated internal network accesschainlit
- Highchainlit : Chainlit allows authenticated arbitrary file reads through custom element updateschainlit
- LowChainlit contains an authorization bypass vulnerabilitychainlit
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.