Improper Input Validation Affecting litellm package, versions <1.87.0-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

Social Trends
EPSS
0.32% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-LITELLM-17189477
  • published5 Jun 2026
  • disclosed12 May 2026

Introduced: 12 May 2026

CVE-2026-42544  (opens in a new tab)
CWE-20  (opens in a new tab)
CWE-248  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Chainguard litellm to version 1.87.0-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream litellm package and not the litellm package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Granian is a Rust HTTP server for Python applications. From 1.2.0 to 2.7.4, Granian aborts a worker process when an unauthenticated client sends a WebSocket upgrade request whose Sec-WebSocket-Protocol header contains non-ASCII bytes. The crash happens in Granian's WebSocket scope construction path, before the ASGI application is invoked. This vulnerability is fixed in 2.7.4.