Chainlit contain a server-side request forgery (SSRF) vulnerability
High severity
GitHub Reviewed
Published
Jan 20, 2026
to the GitHub Advisory Database
•
Updated Jan 21, 2026
Description
Published by the National Vulnerability Database
Jan 20, 2026
Published to the GitHub Advisory Database
Jan 20, 2026
Reviewed
Jan 21, 2026
Last updated
Jan 21, 2026
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