The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-22219

CVE-2026-22219: Chainlit SSRF Vulnerability

CVE-2026-22219 is an SSRF vulnerability in Chainlit that allows authenticated attackers to make arbitrary HTTP requests to internal services. This article covers technical details, affected versions, impact, and mitigation.

Updated: May 15, 2026

CVE-2026-22219 Overview

CVE-2026-22219 is a server-side request forgery (SSRF) vulnerability in Chainlit versions prior to 2.9.4. The flaw resides in the /project/element update flow when the application is configured with the SQLAlchemy data layer backend. An authenticated client can supply a user-controlled url value inside an Element, which the SQLAlchemy element creation logic fetches using an outbound HTTP GET request. Attackers can pivot this primitive to reach internal network services or cloud metadata endpoints. Retrieved responses are then persisted through the configured storage provider, enabling exfiltration of sensitive data. The vulnerability is classified under CWE-918.

Critical Impact

Authenticated attackers can force the Chainlit server to issue arbitrary HTTP requests to internal services and cloud metadata endpoints, then retrieve the responses via the storage provider.

Affected Products

  • Chainlit versions prior to 2.9.4
  • Deployments configured with the SQLAlchemy data layer backend
  • Chainlit instances exposing the /project/element update flow to authenticated users

Discovery Timeline

  • 2026-01-20 - CVE-2026-22219 published to NVD
  • 2026-02-02 - Last updated in NVD database

Technical Details for CVE-2026-22219

Vulnerability Analysis

Chainlit is an open-source framework for building conversational AI applications. When operators enable the SQLAlchemy data layer, the framework persists chat Elements through an ORM-backed flow. The element creation handler accepts a url field on incoming Element objects and treats it as a remote resource to fetch. The server then issues an outbound HTTP GET request to that URL without validating the destination host, scheme, or address family. The fetched response body is written to the configured storage provider as if it were legitimate Element content. This combination converts a feature designed for remote asset ingestion into a full-read SSRF primitive against any network destination reachable from the Chainlit host.

Root Cause

The root cause is missing validation of user-controlled URLs within the SQLAlchemy element creation logic. The handler trusts the url value supplied by the authenticated client and dispatches an HTTP request without enforcing an allowlist, blocking private address ranges, or rejecting link-local metadata addresses such as 169.254.169.254. Storing the response through the storage provider compounds the impact by giving the attacker a reliable channel to retrieve the data.

Attack Vector

An authenticated attacker submits an Element with a crafted url pointing to an internal target. Typical targets include cloud instance metadata services (IMDS), internal admin APIs on loopback or RFC1918 ranges, and unauthenticated internal HTTP services. The Chainlit server performs the request from its own network position, bypassing perimeter controls. The attacker then reads the stored object to obtain credentials, tokens, or internal service responses. The vulnerability mechanism is documented in the VulnCheck Security Advisory and the Zafran Analysis on Chainleak Vulnerabilities.

Detection Methods for CVE-2026-22219

Indicators of Compromise

  • Outbound HTTP GET requests from the Chainlit server to private address ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) or link-local 169.254.169.254.
  • Element records in the SQLAlchemy data layer containing url values referencing internal hostnames, loopback addresses, or cloud metadata endpoints.
  • Unexpected objects in the configured storage provider whose contents match instance metadata, IAM credentials, or internal API responses.

Detection Strategies

  • Inspect Chainlit application logs for /project/element requests followed by outbound HTTP fetches to non-public destinations.
  • Correlate egress proxy or VPC flow logs with Chainlit server identity to surface requests to IMDS endpoints.
  • Audit stored Element artifacts for response bodies that resemble JSON metadata documents or temporary cloud credentials.

Monitoring Recommendations

  • Alert on any outbound request from Chainlit workloads to 169.254.169.254, metadata.google.internal, or Azure IMDS hosts.
  • Track creation of Element objects whose url field resolves to internal IPs and flag the corresponding storage writes.
  • Forward Chainlit, egress proxy, and cloud audit logs to a centralized analytics platform for cross-source correlation.

How to Mitigate CVE-2026-22219

Immediate Actions Required

  • Upgrade Chainlit to version 2.9.4 or later, which contains the fix referenced in the GitHub Release 2.9.4 notes.
  • Rotate any cloud credentials, API tokens, or session secrets accessible from the Chainlit host's metadata service.
  • Review stored Element artifacts for content sourced from internal endpoints and purge unauthorized objects.

Patch Information

Chainlit 2.9.4 addresses the SSRF in the SQLAlchemy data layer element creation path. Operators should deploy this release across all Chainlit instances using the SQLAlchemy backend. The patch and associated notes are available in the GitHub Release 2.9.4 and the VulnCheck Security Advisory.

Workarounds

  • Restrict egress from Chainlit workloads to an explicit allowlist that excludes RFC1918, loopback, and link-local ranges.
  • Enforce IMDSv2 with hop-limit 1 on AWS, or equivalent metadata protections on Azure and GCP, to prevent SSRF-based credential theft.
  • Limit authenticated access to the /project/element endpoint to trusted operators until the upgrade is complete.
  • Disable the SQLAlchemy data layer in environments where it is not required.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechChainlit

  • SeverityHIGH

  • CVSS Score8.3

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Technical References
  • GitHub Release 2.9.4

  • VulnCheck Security Advisory
  • Vendor Resources
  • Zafran Analysis on Chainleak Vulnerabilities
  • Related CVEs
  • CVE-2026-22218: Chainlit Arbitrary File Read Vulnerability

  • CVE-2025-68492: Chainlit Authorization Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English