Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-22218: ChainLeak: Arbitrary File Read in Chainlit

Published Jan 19, 2026 · Updated 6 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.1High · v4
EPSS9.7%96th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Chainlit
IdentifiersCVE-2026-22218CWE-73
Also known aschainleak

Chainlit versions before 2.9.4 contain an arbitrary file read vulnerability in the element update flow. An authenticated client can submit a custom Element with an attacker-controlled path property, causing the server to copy a referenced file into the attacker's session without adequate validation. The resulting chainlitKey identifier allows retrieval of the copied contents, exposing any file readable by the Chainlit service. This vulnerability and CVE-2026-22219 are collectively known as ChainLeak.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Exploitation compromises the confidentiality of files accessible to the Chainlit service, potentially exposing source code, configuration data, databases, process environment variables, API keys, cloud credentials, and authentication signing secrets. In multi-tenant deployments using a readable LangChain cache database, attackers may obtain other users' prompts and responses. Stolen signing secrets combined with user identifiers can enable authentication-token forgery and account takeover; exposed cloud or database credentials may enable further access and lateral movement, subject to their permissions.

Mitigation

If you can’t patch tonight, do this now.

Until upgrading, restrict access to the affected element update and file retrieval endpoints to trusted authenticated users. Minimize filesystem read permissions for the Chainlit service account and isolate the service in a container or virtual machine with a tightly scoped filesystem and mandatory access controls. Researcher-provided Snort signatures and Cloudflare WAF rules are also available as temporary protective measures.

Remediation

Patch, then assume compromise.

Upgrade the PyPI chainlit package to version 2.9.4 or later, which fixes this vulnerability. Inventory deployed Chainlit instances and update those running affected versions.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
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
FAQ

Frequently asked questions

Is CVE-2026-22218 exploited in the wild?
As of Nov 17, 2026, Mallory has no reports of CVE-2026-22218 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-22218?
Yes. As of Nov 17, 2026, Mallory has reports of a public exploit for CVE-2026-22218.
Is there a patch for CVE-2026-22218?
Upgrade the PyPI chainlit package to version 2.9.4 or later, which fixes this vulnerability. Inventory deployed Chainlit instances and update those running affected versions.
What products are affected by CVE-2026-22218?
Chainlit.
How severe is CVE-2026-22218?
CVE-2026-22218 has a CVSS v4 score of 7.1 (High) and an EPSS score of 9.7% (96th percentile) as of Nov 17, 2026.
Activity feed

Recent activity

24 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+7 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

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, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity13Community discussion across Reddit, Mastodon, and other social sources.