CVE-2026-110699: File Upload Block Bypass in Chainlit
Chainlit is vulnerable to a file upload block bypass in the "spontaneousfileupload" functionality. Disabling the feature with the "enabled = false" option only affects the frontend, while the backend upload endpoints remain active and can be abused directly. An attacker with a valid session ID can send requests to these backend endpoints to upload arbitrary file types and then generate a retrieval URL that is accessible to anyone who obtains the link. This allows the attacker to serve malicious content, such as a fake login pages, from the application's trusted domain, which can be used for phishing attacks against users.
The vulnerability has only been confirmed in versions 2.10.0 and 2.12.0 but may also affect other versions.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs a valid Chainlit session ID to call the backend upload endpoints directly. The resulting retrieval URL can be accessed by anyone who obtains it.
Does disabling spontaneous file upload prevent exploitation?
No. Setting "enabled = false" affects only the frontend; the backend upload endpoints remain active and can still accept direct upload requests.
What is the practical impact of a successful exploit?
An authenticated attacker can upload arbitrary file types and create a retrieval URL for them. This can enable hosting malicious content, including fake login pages, on the application's trusted domain for phishing.
Which versions are known to be affected?
The issue has been confirmed in Chainlit versions 2.10.0 and 2.12.0. Other versions may also be affected, but this has not been confirmed in the provided information.