Access Control Bypass Affecting chainlit package, versions [,2.8.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Access Control Bypass vulnerabilities in an interactive lesson.

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

Introduced: 2 Dec 2025

New CVE NOT AVAILABLE CWE-284  (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 Access Control Bypass 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.

References

CVSS Base Scores

version 4.0
version 3.1