Server-side Request Forgery (SSRF) Affecting chainlit package, versions [,2.9.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
4.52% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-CHAINLIT-15037182
  • published20 Jan 2026
  • disclosed19 Jan 2026
  • creditIdo Shani, Gal Zaban

Introduced: 19 Jan 2026

CVE-2026-22219  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade chainlit to version 2.9.4 or higher.

Overview

chainlit is a Build Conversational AI.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) in the /project/element update flow when the SQLAlchemy data layer backend is configured. An attacker can cause the server to send arbitrary HTTP requests to internal network services or cloud metadata endpoints by supplying a user-controlled URL, and can store the retrieved responses through the configured storage provider. This is only exploitable if the SQLAlchemy data layer backend is enabled and the attacker is authenticated.

CVSS Base Scores

version 4.0
version 3.1