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.
References
| Link | Resource |
|---|---|
| https://github.com/Chainlit/chainlit/releases/tag/2.9.4 | Product Release Notes |
| https://www.vulncheck.com/advisories/chainlit-sqlalchemy-data-layer-ssrf-via-project-element | Third Party Advisory |
| https://www.zafran.io/resources/chainleak-critical-ai-framework-vulnerabilities-expose-data-enable-cloud-takeover | Exploit Mitigation Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-01-20 00:15
Updated : 2026-02-02 20:56
NVD link : CVE-2026-22219
Mitre link : CVE-2026-22219
CVE.ORG link : CVE-2026-22219
JSON object : View
Products Affected
chainlit
- chainlit
CWE
CWE-918
Server-Side Request Forgery (SSRF)
