CVE-2026-22219: Chainlit Chainlit Contain A Server-side Request Vulnerability
HIGHCVE-2026-22219 is a HIGH (CVSS 7.7) chainlit contain a server-side request vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Chainlit libraries in the PyPI ecosystem. The issue involves chainlit contain a server-side request forgery (ssrf) vulnerability. Remediation is available by upgrading affected packages to version 2.9.4.
CVE-2026-22219 at a Glance
Security Impact
CVSS: 7.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N).
How to Fix CVE-2026-22219
To remediate this vulnerability, upgrade all affected Chainlit dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install chainlit>=2.9.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show chainlit
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-22219, inspect your installed packages using pip:
pip show chainlit
Analyze the terminal output to locate any version of Chainlit in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.9.4), your application is affected.
Note: The pip show chainlit command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Chainlit, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-22219 Affected Chainlit Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
chainlit
|
PyPI |
< 2.9.4
|
2.9.4
|
References
Frequently Asked Questions
What is CVE-2026-22219?
Which Chainlit versions are affected?
What version fixes CVE-2026-22219?
Is chainlit affected?
What is the CVSS score of CVE-2026-22219?
What CWE is associated with CVE-2026-22219?
How can I check PyPI dependencies for CVE-2026-22219?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2g59-m95p-pgfq",
"modified" : "2026-02-02T22:22:24Z",
"published" : "2026-01-20T00:30:28Z",
"aliases" : [ "CVE-2026-22219" ],
"summary" : "Chainlit contain a server-side request forgery (SSRF) vulnerability",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "chainlit"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.9.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-22219"
}, {
"type" : "WEB",
"url" : "https://github.com/Chainlit/chainlit/commit/ffc3cce648b343b933e10e85ee5805c7e02ab3bf"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Chainlit/chainlit"
}, {
"type" : "WEB",
"url" : "https://github.com/Chainlit/chainlit/releases/tag/2.9.4"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/chainlit-sqlalchemy-data-layer-ssrf-via-project-element"
}, {
"type" : "WEB",
"url" : "https://www.zafran.io/resources/chainleak-critical-ai-framework-vulnerabilities-expose-data-enable-cloud-takeover"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-21T01:07:02Z",
"nvd_published_at" : "2026-01-20T00:15:49Z"
}
}