Intel

AIKIDO-2026-10005

chainlit is vulnerable to Path Traversal

CVE-2026-22219Published Jan 6, 2026
January 6, 2026

55

CVE Score

Medium

Path Traversal

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.

How do I fix this?

Upgrade the chainlit library to the patch version.

Who does this affect?

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

Package

Versions

2.0.0 - 2.9.3

Fixed in 2.9.4

Background info

chainlit is vulnerable to Path Traversal in versions 2.0.0 - 2.9.3.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea