Skip to main content
Mallory
← Back to News
ai-platform-securityopen-source-dependency-vulnerabilitycloud-service-vulnerabilitywidely-deployed-product-advisory

Chainlit AI Framework Vulnerabilities Enable Arbitrary File Read and SSRF

Emerging Technology Risk · 4 sources · Updated 5mo ago · First seen Jan 20, 2026

Chainlit AI Framework Vulnerabilities Enable Arbitrary File Read and SSRF

Security researchers reported two high-severity vulnerabilities in the open-source AI chatbot framework Chainlit that could enable sensitive data exposure and, in some environments, broader cloud compromise. The issues—CVE-2026-22218 (arbitrary file read) and CVE-2026-22219 (server-side request forgery, SSRF)—were described as “easy-to-exploit” and particularly risky because Chainlit-based applications are often deployed internet-facing and integrated with other enterprise services (for example, via common AI tooling and cloud backends).

Technical details indicate CVE-2026-22218 can be triggered via a malicious element update request using a tampered custom element, allowing attackers to read files such as /proc/self/environ and potentially exfiltrate environment variables containing API keys, credentials, and other secrets. CVE-2026-22219 could allow SSRF against servers hosting AI applications, creating a path to access internal resources. Zafran reported responsible disclosure to maintainers in November and stated it had not observed in-the-wild exploitation; Chainlit released version 2.9.4 to address both flaws, and organizations running Chainlit were advised to update to the patched release.

New surface, new adversariesTrack how attackers are adapting to this technology.
Track this risk
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Nov 25, 2025 – Jan 20, 2026
  1. Jan 20, 202610mo ago

    Researchers detail enterprise impact of Chainlit flaws

    By January 2026, Zafran publicly disclosed that the two Chainlit bugs could be chained to leak secrets, enable token forgery, support account or environment takeover, and probe internal services in cloud deployments. The company said it had observed internet-facing Chainlit apps in sectors including financial services, energy, and universities, but had not seen evidence of in-the-wild exploitation.

  2. Dec 24, 202511mo ago

    Chainlit releases version 2.9.4 to patch both flaws

    On 2025-12-24, Chainlit released version 2.9.4 to remediate CVE-2026-22218 and CVE-2026-22219, addressing the arbitrary file-read and SSRF vulnerabilities.

  3. Dec 5, 20251y ago

    Chainlit acknowledges the vulnerability report

    In early December 2025, Chainlit maintainers acknowledged receipt of Zafran's report about the two vulnerabilities affecting internet-facing deployments.

  4. Nov 25, 20251y ago

    Zafran privately reports two Chainlit vulnerabilities to maintainers

    In late November 2025, Zafran notified Chainlit maintainers of two high-severity flaws: an arbitrary file-read bug and an SSRF issue affecting the open-source AI application framework.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?Follow how adversaries are adapting to this technology, and where it touches your stack today.
Track This Risk
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.