Authorization Bypass Through User-Controlled Key Affecting chainlit package, versions [,2.8.5)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (11th 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 Learn

Learn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-CHAINLIT-14157231
  • published4 Dec 2025
  • disclosed2 Dec 2025
  • creditShotaro Kimura

Introduced: 2 Dec 2025

CVE-2025-68492  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

Upgrade chainlit to version 2.8.5 or higher.

Overview

chainlit is a Build Conversational AI.

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key due to a missing authorization check when binding a WebSocket session to a user-supplied threadId. An attacker can exploit this weakness by providing an arbitrary threadId, allowing them to associate their WebSocket connection with threads they do not own. This can expose conversation data or enable unauthorized interaction with resources tied to that thread.

CVSS Base Scores

version 4.0
version 3.1