chainlit@1.1.0rc1 vulnerabilities

Build Conversational AI.

Direct Vulnerabilities

Known vulnerabilities in the chainlit package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Missing Authorization

chainlit is a Build Conversational AI.

Affected versions of this package are vulnerable to Missing Authorization due to improper user verification in the get_file endpoint. This flaw allows unauthorized users to access and retrieve session files by guessing or obtaining valid session_ids, potentially leading to data breaches.

Note: Exploitability is high if session_ids are predictable.

How to fix Missing Authorization?

Upgrade chainlit to version 1.3.1 or higher.

[,1.3.1)
  • H
Directory Traversal

chainlit is a Build Conversational AI.

Affected versions of this package are vulnerable to Directory Traversal via functions like get_file, serve_file, and get_avatar due to improperly restricting file paths. Attackers can access sensitive files via crafted requests containing malicious path components.

How to fix Directory Traversal?

Upgrade chainlit to version 1.2.0 or higher.

[,1.2.0)