Intel

AIKIDO-2025-10143

chainlit is vulnerable to Insufficient Session Expiration

Insufficient Session Expiration Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Mar 10, 2025

30

Low Risk

This Affects:

pythonchainlit
2.0.0 - 2.2.1
Fixed in 2.3.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to improper authentication cookie handling because the clear_auth_cookie function does not explicitly specify the secure and samesite attributes when deleting authentication cookies. This can lead to failed logout attempts, especially if CHAINLIT_COOKIE_SAMESITE is set to a non-default value, as the browser may not clear the cookie correctly.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

chainlit is vulnerable to Insufficient Session Expiration in versions 2.0.0 - 2.2.1.

How to fix this

Upgrade the chainlit library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform