Intel

AIKIDO-2024-10276

chainlit is vulnerable to Path Traversal

Path Traversal Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

98

Critical Risk

This Affects:

pythonchainlit
0.1.1 - 1.1.404
Fixed in 1.2.0

TL;DR

Affected versions of the package are vulnerable to path traversal due to a weakness in the translations API. The language parameter is not properly sanitized, allowing attackers to manipulate the input and navigate the file system beyond the intended directories. This could lead to unauthorized access to files or data outside of the expected directory structure.

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 Path Traversal in versions 0.1.1 - 1.1.404.

How to fix this

Upgrade the chainlit library to the patch version.