Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
HighPublic exploit

SSRF in Chainlit /project/element update flow (SQLAlchemy data layer)

IdentifiersCVE-2026-22219CWE-918· Server-Side Request Forgery (SSRF)

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.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, 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.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

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.

VendorProductType
ChainlitChainlitapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity11

Community discussion across Reddit, Mastodon, and other social sources.