Threat reportVulnerabilityTL-2026-6931
CVE-2026-110699: Chainlit spontaneous_file_upload block bypass enables arbitrary file upload and trusted-domain phishing (CWE-693)
In Chainlit, setting spontaneous_file_upload enabled = false only hides the feature in the frontend while the backend upload endpoints stay active. An attacker holding a valid session ID can upload arbitrary file types and obtain a retrieval URL, so content such as fake login pages is served from the application's trusted domain.
Key facts
| Identifiers | TL-2026-6931, CVE-2026-110699 |
|---|---|
| Also known as | File Upload Block Bypass in Chainlit |
| Severity | MEDIUM |
| CVSS | 6.3 (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N) |
| First disclosed | |
| Affected products | Chainlit chainlit (PyPI) |
| Weaknesses (CWE) | CWE-693 |
| Malware | Python |
| MITRE ATT&CK techniques | T1056.003 Web Portal Capture, T1190 Exploit Public-Facing Application, T1204.001 Malicious Link, T1566.002 Spearphishing Link, T1608.001 Upload Malware, T1608.005 Link Target |
| Motivation | UNKNOWN |
| Target sectors | technology, ai-ml-applications |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 9 cited sources |
Detection coverage
As of 2026-11-26, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6931 across Splunk SPL, Microsoft KQL and Sigma, covering 7 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: Chainlit CVE-2026-110699 Direct Backend File Upload with Session ID — Exploitation
Detects a successful HTTP POST to the Chainlit backend upload route (/project/file) carrying a session_id, the direct-to-backend request that bypasses the frontend-only 'spontaneous_file_upload enabled = false' setting (CVE-2026-110699, CWE-693, CAPEC-554; T1190, T1608.001, T1105). On instances where uploads are disabled in config, any hit is anomalous. The /project/file route is taken from the public Chainlit route layout; the advisory does not name the endpoint, so confirm it against your deployed version (2.10.0 and 2.12.0 are confirmed affected).
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1190, T1608.001, T1105
- Data sources: splunk:index=web:sourcetype=access_combined, azure_application_gateway_access_log, web_server_access_logs
- Severity: medium
- Confidence: medium
Splunk SPL
index=web sourcetype=access_combined earliest=-24h method=POST uri_path="*/project/file" uri_query="*session_id=*" status IN (200,201)
| rex field=uri_query "session_id=(?<sid>[^&\s]+)"
| stats count AS uploads dc(sid) AS distinct_sessions dc(uri_path) AS distinct_paths min(_time) AS first_seen max(_time) AS last_seen values(useragent) AS user_agents BY src, dest
| eval cve="CVE-2026-110699", product="chainlit", technique="T1190,T1608.001,T1105"
| convert ctime(first_seen) ctime(last_seen)
| sort - uploadsMicrosoft KQL
AzureDiagnostics
| where TimeGenerated > ago(24h)
| where ResourceType == "APPLICATIONGATEWAYS" and Category == "ApplicationGatewayAccessLog"
| where httpMethod_s == "POST" and requestUri_s has "/project/file" and not(requestUri_s has "/project/file/")
| where requestUri_s has "session_id=" or requestQuery_s has "session_id="
| where httpStatus_d in (200, 201)
| summarize Uploads = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), UserAgents = make_set(userAgent_s, 5) by clientIP_s, host_s
| project FirstSeen, LastSeen, clientIP_s, host_s, Uploads, UserAgentsSigma
title: Chainlit Direct Backend File Upload With Session ID (CVE-2026-110699)
id: a7c41e92-5b38-4d06-9f1a-2e8d60b3c715
status: experimental
description: Detects a successful POST to the Chainlit /project/file upload route carrying a session_id, the direct backend request that bypasses the frontend-only spontaneous_file_upload enabled = false setting (CVE-2026-110699, CWE-693). The /project/file route is taken from the public Chainlit route layout; the advisory does not name the endpoint, so confirm it against your deployed version (2.10.0 and 2.12.0 are confirmed affected).
references:
- https://cert.pl/en/posts/2026/11/CVE-2026-110699/
- https://www.cve.org/CVERecord?id=CVE-2026-110699
author: Threadlinqs Team
date: 2026/11/26
tags:
- attack.initial_access
- attack.t1190
- attack.resource_development
- attack.t1608.001
- attack.command_and_control
- attack.t1105
- cve.2026.110699
logsource:
category: webserver
detection:
selection:
cs-method: 'POST'
c-uri|contains: '/project/file'
cs-uri-query|contains: 'session_id='
sc-status:
- 200
- 201
filter_retrieval:
c-uri|contains: '/project/file/'
condition: selection and not filter_retrieval
falsepositives:
- Chainlit deployments where spontaneous_file_upload is intentionally enabled and users upload files
- Authorized security scanning or penetration tests
level: mediumKnown false positives:
- Chainlit deployments where file upload is intentionally enabled and legitimate users attach files
- Authorized vulnerability scans or penetration tests against the Chainlit endpoint
Tuning notes: Restrict to hosts where spontaneous_file_upload is disabled (maintain a lookup of such Chainlit hosts) so any upload is high-signal. Also alert when the service runs with authentication disabled, the CVE record's stated precondition. Adjust uri_path for custom root paths and replace index/sourcetype with your reverse-proxy log source.
- [indicator] Upload Followed by Retrieval of Hosted File on Same Host (Sentinel) — Exploitation · unlock with TL Creds
- [indicator] Upload Directory Web and Script Content Creation via Defender for Endpoint (Sentinel) — Staging · unlock with TL Creds
- [indicator] File-Retrieval URL Delivered by Email or Clicked by Users (Sentinel) — Phishing Delivery · unlock with TL Creds
- [indicator] Upload Route Probing and Bypass Attempts on Upload-Disabled Instance (Sigma) — Exploitation · unlock with TL Creds
- [indicator] Upload Directory Server-Side Script File Created, Possible Web Shell Staging (Sigma) — Post-Exploitation · unlock with TL Creds
- [indicator] Uploaded-File URL Visited From Email or Chat Referrer (Sigma) — Phishing Delivery · unlock with TL Creds
- [indicator] Active Web Content (HTML/SVG/JS) Written to Upload Directory — Staging · unlock with TL Creds
- [indicator] Uploaded-File Retrieval URL Used as Phishing Page With Form POST Back — Credential Capture · unlock with TL Creds
Indicators of compromise
As of 2026-11-26, Threadlinqs Intelligence tracks 7 indicators of compromise for TL-2026-6931.
Technical analysis
No fixed version is published as of disclosure.
CVE-2026-110699 (CNA: CERT-PL, title 'File Upload Block Bypass in Chainlit') is a protection mechanism failure (CWE-693; CAPEC-554 Functionality Bypass) in the Chainlit Python framework for conversational AI applications. The spontaneous_file_upload feature can be switched off with 'enabled = false', but the setting is enforced only in the frontend. The backend upload endpoints remain reachable and do not honor the configuration.
An attacker who possesses a valid session ID can call the backend upload functionality directly, upload files of arbitrary type, and receive a URL from which the uploaded file can be retrieved. Anyone given that link can fetch the file. The advisory's stated impact is that attacker-controlled content, for example a fake login page, can be hosted and served from the application's trusted domain and used for phishing. Neither CERT Polska nor the CVE record names the specific endpoints or parameters or describes how session IDs are issued.
The CVE record adds a configuration condition: the Chainlit service must have authentication disabled for the vulnerability to apply. The issue was confirmed in Chainlit 2.10.0 and 2.12.0; CERT Polska lists 2.12.0 as vulnerable and notes other versions may also be affected (the CVE record lists defaultStatus unknown). The only scored metric is CVSS v4.0 6.3 MEDIUM (AV:N/AC:L/AT:P/PR:N/UI:N, VI:L; no confidentiality or availability impact). The reporter is Marcin Ochab, and CERT Polska participated in coordinating disclosure. Neither source states a fixed version, vendor patch, public proof of concept, in-the-wild exploitation or network IOCs.
Defenders running Chainlit should not treat 'enabled = false' as a control. Review whether authentication is enabled, restrict access to the backend upload routes at the reverse proxy or WAF, and monitor for unexpected uploads and retrieval URLs served from the application's origin. This is unrelated to the earlier ChainLeak flaws (CVE-2026-22218 and CVE-2026-22219), which were fixed in Chainlit 2.9.4.
MITRE ATT&CK techniques by tactic:
Credential Access
Initial Access
T1190 Exploit Public-Facing Application; T1566.002 Spearphishing Link
Execution
Resource Development
Remediation
Patches
- No fixed version has been published by the vendor or named by CERT Polska or the CVE record as of 2026-11-26
Immediate actions
- Do not rely on spontaneous_file_upload enabled = false as a security control; it only hides the feature in the frontend
- Enable authentication on Chainlit services (the CVE record states the issue requires authentication to be disabled)
- Block or restrict the backend upload and file-retrieval routes at the reverse proxy or WAF if the feature is not needed
- Audit stored uploads and retrieval URLs on Chainlit deployments for unexpected HTML or other non-document content
Workarounds
- Enforce authentication and network access controls in front of the Chainlit backend
- Reject upload requests to the backend at the proxy layer when the feature is disabled in configuration
Longer-term hardening
- Track the Chainlit project and the CERT Polska advisory for a fixed release and upgrade when available
- Serve user-uploaded content from a separate, cookie-less domain rather than the application's trusted origin
- Inventory Chainlit deployments (PyPI package chainlit) and record versions, especially 2.10.0 and 2.12.0
Affected and fixed versions
- Chainlit — chainlit (PyPI)
Vulnerable versions: 2.10.0; 2.12.0
Timeline
- Context only: Chainlit 2.9.4 released, fixing the separate ChainLeak flaws CVE-2026-22218 and CVE-2026-22219 (not this issue)
- Context only: The Register reports the earlier, unrelated Chainlit ChainLeak flaws (CVE-2026-22218, CVE-2026-22219), showing prior security scrutiny of the framework
- datePublic recorded in the CVE record for CVE-2026-110699 (the record does not say what event this date marks)
- CVE-2026-110699 reserved by CNA CERT-PL
- At publication neither the CVE record (defaultStatus unknown) nor the CERT Polska advisory names a fixed Chainlit version or vendor statement; the CVE record notes the issue applies only when authentication is disabled
- CERT Polska publishes advisory crediting Marcin Ochab; no fixed version, PoC or in-the-wild exploitation stated
- CVE-2026-110699 published ('File Upload Block Bypass in Chainlit'), CVSS v4.0 6.3 MEDIUM, CWE-693, affected versions 2.10.0 and 2.12.0
Sources cited
- CERT Polska: Vulnerability in Chainlit software cert.pl · Advisory · 2026-11-26
- CVE-2026-110699 CVE Record CVE Program · Advisory · 2026-11-26
- CVE-2026-110699 CVE Services API record (CNA: CERT-PL) MITRE · Advisory · 2026-11-26
- CWE-693: Protection Mechanism Failure MITRE · Research
- CAPEC-554: Functionality Bypass MITRE · Research
- Chainlit project site chainlit.io · Vendor report
- chainlit package on PyPI pypi.org · Vendor report
- CERT Polska coordinated vulnerability disclosure policy cert.pl · Research
- The Register: AI framework flaws put enterprise clouds at risk of takeover (unrelated earlier Chainlit ChainLeak flaws, context only) The Register · News · 2026-01-20
Drafted by the Threadlinqs research pipeline from 9 sources; published ; last updated —.