Chainlit < 2.9.4 SQLAlchemy Data Layer SSRF via /project/element
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-918 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Chainlit | Chainlit | before 2.9.4 | 2.9.4 | Patch available | CNA |
| — | chainlit (PyPI) | before 2.9.4 | 2.9.4 | Patch available | GHSA-2g59-m95p-pgfq |
- Chainlit VendorChainlit Affected before 2.9.4 Fixed in 2.9.4 Patch available CNA
- chainlit (PyPI) Vendor— Affected before 2.9.4 Fixed in 2.9.4 Patch available GHSA-2g59-m95p-pgfq
Remediation
- Fix · CNA Chainlit (Chainlit) Fixed in 2.9.4
- Fix · GHSA-2g59-m95p-pgfq chainlit (PyPI) Fixed in 2.9.4 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Chainlit 2.9.4
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2026-17828 Chainlit < 2.9.4 Arbitrary File Read via /project/elementPriority MEDIUM 64
Timeline
- 2026-10-02 Threatist record created from CVE-2026-22219
- 2026-10-03 Alias added: GHSA-2g59-m95p-pgfq
References
More Chainlit vulnerabilities
- TI-2026-17828 Chainlit < 2.9.4 Arbitrary File Read via /project/element CVSS 4.0HIGH 7.1
Sources
- CVE-2026-22219 · CVE Program
- CVE-2026-22219 · NVD
- FIRST EPSS
- GHSA-2g59-m95p-pgfq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences