CVE-2026-22219: SSRF in Chainlit /project/element update flow (SQLAlchemy data layer)
- Vendor
- Chainlit
Chainlit versions prior to 2.9.4 contain a server-side request forgery (SSRF) vulnerability in the /project/element update flow when the application is configured to use the SQLAlchemy data layer backend. An authenticated client can supply a user-controlled url value in a custom Element; during SQLAlchemy-backed element creation, Chainlit performs an outbound HTTP GET to the provided URL and stores the retrieved response via the configured storage provider. This enables an attacker to coerce the Chainlit server into making arbitrary HTTP requests to internal network services and/or cloud metadata endpoints (e.g., AWS IMDS), and to persist and later retrieve the fetched content.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker can use the Chainlit server as a proxy to access otherwise non-internet-reachable resources (internal REST services, RFC1918 hosts, link-local metadata services). In cloud environments, this can expose sensitive metadata and potentially credentials (e.g., AWS IAM role credentials if IMDSv1 is enabled and reachable at 169.254.169.254). Retrieved responses can be stored via Chainlit’s storage provider, increasing the likelihood of successful data exfiltration.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible: avoid/disable the SQLAlchemy data layer backend where feasible; enforce strict validation/allowlisting of any user-supplied Element url values; implement outbound egress controls to block access to internal address space and sensitive link-local endpoints (notably 169.254.169.254) and to restrict outbound HTTP(S) destinations to an allowlist; add WAF/IDS rules to detect and block malicious /project/element update requests attempting to set attacker-controlled URLs.
Remediation
Patch, then assume compromise.
Upgrade Chainlit to 2.9.4 or later, which addresses the SSRF in the SQLAlchemy data layer element creation/update flow.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-22219 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-22219 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-22219?
- Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2026-22219.
- Is there a patch for CVE-2026-22219?
- Upgrade Chainlit to 2.9.4 or later, which addresses the SSRF in the SQLAlchemy data layer element creation/update flow.
- What products are affected by CVE-2026-22219?
- Chainlit.
- How severe is CVE-2026-22219?
- CVE-2026-22219 has a CVSS v4 score of 8.3 (High) and an EPSS score of 5.2% (93rd percentile) as of Sep 25, 2026.
Recent activity
19 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.