Intel

AIKIDO-2026-10005

chainlit is vulnerable to Path Traversal

Path Traversal Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jan 6, 2026

55

Medium Risk

This Affects:

PYTHONchainlit
2.0.0 - 2.9.3
Fixed in 2.9.4
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to improper handling of user-controlled custom thread element updates. By forging update requests with crafted element data, an attacker could inject unauthorized fields (such as file paths or URLs), potentially leading to unintended file access or manipulation of thread elements. The issue stems from insufficient input validation and trust in client-supplied element attributes, which is mitigated by sanitizing custom element data before processing.

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 2.0.0 - 2.9.3.

How to fix this

Upgrade the chainlit library to the patch version.