# CVE-2026-22219: Chainlit < 2.9.4 SQLAlchemy Data Layer SSRF via /project/element

- Severity: High 8.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.57%, higher than 93% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-19T23:15:08.897Z
- Modified: 2026-11-08T14:01:12.929Z
- Also known as: GHSA-2g59-m95p-pgfq, PYSEC-2026-1237
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Chainlit Chainlit: before 2.9.4
- chainlit (PyPI): before 2.9.4

## Every score

- VulnCheck: CVSS:4.0 8.3 High `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: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- PyPA Advisory Database: 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`

## References

- <https://www.zafran.io/resources/chainleak-critical-ai-framework-vulnerabilities-expose-data-enable-cloud-takeover> (exploit, mitigation, technical-description, third-party-advisory, web)
- <https://github.com/Chainlit/chainlit/releases/tag/2.9.4> (patch, product, release-notes, 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

- CVE List: [CVE-2026-22219](https://www.cve.org/CVERecord?id=CVE-2026-22219), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-2g59-m95p-pgfq](https://github.com/advisories/GHSA-2g59-m95p-pgfq), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-22219](https://nvd.nist.gov/vuln/detail/CVE-2026-22219), Public domain, modified 2026-10-08
- PyPA Advisory Database: [PYSEC-2026-1237](https://osv.dev/vulnerability/PYSEC-2026-1237), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2026-22219 · Whole record: https://cve.day/CVE-2026-22219.json · Rebuilt by cve.day 2026-11-25T22:59:12.963Z
