8.3high
Chainlit < 2.9.4 SQLAlchemy Data Layer SSRF via /project/element
- Severity
- 8.3high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 5.57% (higher than 93% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-2g59-m95p-pgfqPYSEC-2026-1237
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Chainlit Chainlit | before 2.9.4 | CVE List, NVD |
| chainlit (PyPI) | before 2.9.4 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| VulnCheck | 8.3high CVSS:4.0 | 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 |
| GitHub | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| GitHub | high CVSS:4.0 | 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 |
| NVD | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| PyPA Advisory Database | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Las versiones de Chainlit anteriores a la 2.9.4 contienen una vulnerabilidad de falsificación de petición del lado del servidor (SSRF) en el flujo de actualización de /project/element cuando se configura con el backend de la capa de datos de SQLAlchemy. Un cliente autenticado puede proporcionar un valor de URL controlado por el usuario en un Element, que es recuperado por la lógica de creación de elementos de SQLAlchemy utilizando una petición HTTP GET saliente. Esto permite a un atacante realizar peticiones HTTP arbitrarias desde el servidor de Chainlit a servicios de red internos o puntos finales de metadatos en la nube y almacenar las respuestas recuperadas a través del proveedor de almacenamiento configurado.
References
| https://github.com/Chainlit/chainlit/releases/tag/2.9.4 | patch, product, release-notes, web | |
| https://www.zafran.io/resources/chainleak-critical-ai-framework-vulnerabilities-expose-data-enable-cloud-takeover | exploit, mitigation, technical-description, third-party-advisory, web | |
| https://www.vulncheck.com/advisories/chainlit-sqlalchemy-data-layer-ssrf-via-project-element | third-party-advisory, web | |
| 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://pypi.org/project/chainlit | package | |
| https://github.com/advisories/GHSA-2g59-m95p-pgfq | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-22219 changed 2026-11-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2g59-m95p-pgfq changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2026-22219 changed 2026-10-08 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1237 changed 2026-07-07 | CC-BY-4.0 |