Read the docs

File upload block bypass in Chainlit lets attackers host files

Priority LOW 29CWE-693Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Security bypass
Confidentiality · integrity · availability
None · Low · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-693.

Summary

Chainlit 2.10.0 and 2.12.0 are confirmed affected, and other versions may be affected. Disabling the spontaneous_file_upload feature with enabled = false only hides it in the frontend, while the backend upload endpoints stay active (CWE-693). An attacker with a valid session ID can upload arbitrary file types and generate a retrieval URL that anyone with the link can open, which allows serving phishing pages such as fake login pages from the trusted domain.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

Chainlit is vulnerable to a file upload block bypass in the "spontaneous_file_upload" 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.

Why it matters now

EPSS 0.00603 42nd percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ChainlitChainlit2.12.0; 2.10.0—No fix listedCNA
  • Chainlit VendorChainlit Affected 2.12.0; 2.10.0 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for Chainlit.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-110699
  2. 2026-11-27 Alias added: GHSA-xgq8-vc47-33wv

References

  • TI-2026-32874 Chainlit: Command injection via MCP stdio transport allows unauthenticated remote code execution CVSS 3.1CRITICAL 9.8
  • TI-2026-17828 Chainlit < 2.9.4 Arbitrary File Read via /project/element CVSS 4.0HIGH 7.1
  • TI-2026-83858 Chainlit SSRF via Semicolon Path Segment in MCP allowed_urls CVSS 4.0MEDIUM 6.3
  • TI-2026-56755 Chainlit Feedback Endpoints Missing Ownership Validation CVSS 4.0MEDIUM 6.0
  • TI-2026-58900 Chainlit through 2.12.0 Path Traversal via socket.io sessionId CVSS 4.0HIGH 8.8
  • TI-2026-17829 Chainlit < 2.9.4 SQLAlchemy Data Layer SSRF via /project/element CVSS 4.0HIGH 8.3
See all 9 →

Sources