GitHub Advisoryadvisory · PyPI

GHSA-2g59-m95p-pgfq Chainlit contain a server-side request forgery (SSRF) vulnerability

HIGH Published 2026-01-20 Modified 2026-02-02 Official page ↗
Aliases
CVE-2026-22219
Ecosystem
PyPI
Packages
chainlit
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Weaknesses
CWE-918
Reviewed
2026-01-21

Affected packages

• PyPI chainlit: < 2.9.4 → fixed in 2.9.4

Description

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.

Related

Alias · CVE (1)

  • CVE-2026-22219 Chainlit versions prior to 2.9.4 contain a server-side request forgery (SSRF) vulnerability in the /project/element update flow when… vulnerability

Weakness · CWE (1)

  • CWE-918 Server-Side Request Forgery weakness

References