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-42208

CVE-2026-42208: LiteLLM Proxy Server SQL Injection Flaw

CVE-2026-42208 is a SQL injection vulnerability in LiteLLM proxy server affecting versions 1.81.16 to 1.83.6. Attackers can exploit API key checks to access or modify database contents. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 18, 2026

CVE-2026-42208 Overview

CVE-2026-42208 is a SQL injection vulnerability [CWE-89] in LiteLLM, an AI Gateway proxy server used to call large language model (LLM) APIs in OpenAI-compatible format. The flaw exists in the database query that validates proxy API keys. The query concatenates the caller-supplied key value into the SQL text instead of binding it as a parameter. An unauthenticated attacker can send a crafted Authorization header to any LLM API route, such as POST /chat/completions, and reach the vulnerable query through the proxy's error-handling path. The issue affects versions from 1.81.16 to versions before 1.83.7.

Critical Impact

An unauthenticated remote attacker can read and potentially modify data in the LiteLLM proxy database, exposing managed LLM provider credentials and proxy API keys.

Affected Products

  • LiteLLM versions 1.81.16 through 1.83.6
  • BerriAI LiteLLM proxy server deployments serving as an AI Gateway
  • Self-hosted LiteLLM instances exposing LLM API routes such as /chat/completions

Discovery Timeline

  • 2026-05-08 - CVE-2026-42208 published to NVD
  • 2026-05-08 - Last updated in NVD database
  • Patch released - Fixed in LiteLLM version 1.83.7 via GitHub Release v1.83.7
  • Listed in - CISA Known Exploited Vulnerabilities Catalog

Technical Details for CVE-2026-42208

Vulnerability Analysis

LiteLLM acts as a proxy gateway that authenticates clients using API keys passed in the HTTP Authorization header. During request handling, the proxy looks up the supplied key in its backing database to determine validity and associated permissions. The lookup logic builds the SQL statement by interpolating the raw key value into the query string rather than using a parameterized statement. This pattern is the classic root cause of SQL injection [CWE-89].

Because the vulnerable query is reached through the proxy's error-handling path, attackers do not need a valid API key to trigger it. Any LLM API route that performs key validation, including POST /chat/completions, can serve as an injection sink. The result is an unauthenticated SQL injection against the LiteLLM database.

The vulnerability carries high impact across confidentiality and integrity. The proxy database typically stores hashed API keys, virtual key metadata, user records, budgets, and provider credentials used to reach upstream LLM services such as OpenAI, Anthropic, or Azure OpenAI. Exfiltration of these secrets enables onward abuse of paid LLM accounts and lateral access into AI workloads.

Root Cause

The proxy API key validation logic concatenates the attacker-controlled Authorization header value directly into a SQL query string. Parameter binding is bypassed, so SQL metacharacters in the key are interpreted as query syntax rather than data.

Attack Vector

The attack vector is the network. An attacker issues an HTTP request to any LLM API route exposed by the LiteLLM proxy and places a SQL injection payload inside the Authorization: Bearer <payload> header. The proxy's error-handling path forwards the malicious value into the unsafe query, executing attacker-controlled SQL against the backend database. See the GitHub Security Advisory GHSA-r75f-5x8p-qvmc for vendor analysis.

Detection Methods for CVE-2026-42208

Indicators of Compromise

  • Inbound HTTP requests to LiteLLM routes such as /chat/completions, /completions, or /embeddings containing SQL metacharacters (', --, ;, UNION, SELECT) inside the Authorization header.
  • LiteLLM application logs showing repeated authentication errors or database exceptions tied to malformed bearer tokens.
  • Unexpected database queries originating from the LiteLLM service account, especially queries referencing information_schema, pg_catalog, or key/credential tables.
  • Outbound traffic spikes from the LiteLLM host to attacker-controlled infrastructure following anomalous header activity.

Detection Strategies

  • Inspect reverse proxy and WAF logs for non-printable or SQL-syntax characters in Authorization headers reaching LiteLLM endpoints.
  • Correlate LiteLLM error logs containing database driver exceptions with the source IPs of requests that produced them.
  • Hunt for newly created or unexpectedly modified rows in LiteLLM's keys, users, and provider credential tables.

Monitoring Recommendations

  • Enable verbose request logging on the LiteLLM proxy and forward logs to a centralized analytics platform for retention and search.
  • Alert on a high ratio of 4xx authentication failures combined with database error stack traces from the LiteLLM process.
  • Monitor LLM provider billing dashboards for sudden cost spikes that may indicate stolen upstream credentials in use.

How to Mitigate CVE-2026-42208

Immediate Actions Required

  • Upgrade LiteLLM to version 1.83.7 or later using the GitHub Release v1.83.7 artifacts.
  • Rotate all LiteLLM proxy API keys, virtual keys, and upstream LLM provider credentials stored by the proxy, assuming compromise if exposure cannot be ruled out.
  • Review the LiteLLM database for unauthorized rows, modified permissions, or new administrative users created since version 1.81.16 was deployed.
  • Restrict network exposure of the LiteLLM proxy to trusted clients via firewall rules, private networking, or an authenticated reverse proxy.

Patch Information

The vulnerability is patched in LiteLLM 1.83.7. The fix changes the proxy API key lookup to bind the supplied key as a query parameter rather than concatenating it into SQL. All deployments running versions 1.81.16 through 1.83.6 must upgrade. Patch and advisory details are documented in the GitHub Security Advisory GHSA-r75f-5x8p-qvmc.

Workarounds

  • Place a web application firewall in front of LiteLLM and block requests whose Authorization header contains SQL metacharacters or non-token syntax.
  • Require mutual TLS or an upstream identity-aware proxy so that only authenticated clients can reach LiteLLM API routes.
  • Apply least-privilege database credentials to the LiteLLM service account, removing DDL and write rights on tables that the proxy does not need to modify.
bash
# Configuration example: upgrade LiteLLM and rotate credentials
pip install --upgrade 'litellm==1.83.7'

# Verify installed version
python -c "import litellm; print(litellm.__version__)"

# Restart the LiteLLM proxy service after upgrade
systemctl restart litellm-proxy

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechLitellm

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability43.19%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/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
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Release v1.83.7

  • CISA Known Exploited Vulnerabilities
  • Vendor Resources
  • GitHub Security Advisory GHSA-r75f-5x8p-qvmc
  • Related CVEs
  • CVE-2026-42203: Litellm Proxy Server RCE Vulnerability

  • CVE-2026-42271: Litellm Litellm RCE Vulnerability

  • CVE-2026-35029: LiteLLM Proxy Server RCE Vulnerability

  • CVE-2026-35030: Litellm Auth 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