GitHub Advisoryadvisory · PyPI
GHSA-2g59-m95p-pgfq Chainlit contain a server-side request forgery (SSRF) vulnerability
HIGH
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
- https://nvd.nist.gov/vuln/detail/CVE-2026-22219 advisory
- https://github.com/Chainlit/chainlit/commit/ffc3cce648b343b933e10e85ee5805c7e02ab3bf web
- https://github.com/Chainlit/chainlit package
- https://github.com/Chainlit/chainlit/releases/tag/2.9.4 web
- https://www.vulncheck.com/advisories/chainlit-sqlalchemy-data-layer-ssrf-via-project-element web
- https://www.zafran.io/resources/chainleak-critical-ai-framework-vulnerabilities-expose-data-enable-cloud-takeover web