Description
Chainlit through 2.12.0 fails to validate the client-supplied socket.io sessionId parameter, allowing unauthenticated attackers to traverse filesystem paths by injecting absolute or relative path sequences. Attackers can craft malicious sessionId values that escape the upload directory and recursively delete arbitrary directories accessible to the service process.
Published: 2026-09-09
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Chainlit before version 2.12.0 accepts a client‑supplied socket.io sessionId without proper validation, which allows an attacker to craft a carefully constructed sessionId value that contains path traversal sequences. The malformed sessionId can cause the service to resolve filesystem paths outside the intended upload directory. The effect is that the attacker can recursively delete arbitrary directories that are writable by the service process. This vulnerability enables a remote attacker to compromise the integrity and availability of the filesystem hosting the Chainlit deployment. The weakness is a classic input validation flaw, identified as CWE‑22.

Affected Systems

Affects the Chainlit application for all releases up through 2.12.0. The vendor, Chainlit, has not issued a separate fix for older minor versions, so any deployment running version 2.12.0 or earlier is at risk. Upgrading to a newer release beyond 2.12.0 removes the flaw.

Risk and Exploitability

With a CVSS score of 8.8 the vulnerability is considered high severity. EPSS data is not provided, but because the exploit requires only an unauthenticated HTTP request with a crafted sessionId, the likelihood of exploitation is significant in exposed environments. The vulnerability is not listed in the CISA KEV catalog, however its high impact and lack of authentication requirements make it attractive to threat actors. Exploitation can proceed by simply sending a malicious sessionId, so no credential or privileged access is required.

Generated by OpenCVE AI on September 9, 2026 at 16:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Chainlit to a version newer than 2.12.0
  • Limit the delete permissions of the Chainlit service process to prevent its ability to remove arbitrary directories.
  • Deploy a web application firewall or middleware that validates and rejects sessionId parameters containing path traversal sequences.

Generated by OpenCVE AI on September 9, 2026 at 16:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 09 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 09 Sep 2026 13:45:00 +0000

Type Values Removed Values Added
Description Chainlit through 2.12.0 fails to validate the client-supplied socket.io sessionId parameter, allowing unauthenticated attackers to traverse filesystem paths by injecting absolute or relative path sequences. Attackers can craft malicious sessionId values that escape the upload directory and recursively delete arbitrary directories accessible to the service process.
Title Chainlit through 2.12.0 Path Traversal via socket.io sessionId
First Time appeared Chainlit
Chainlit chainlit
Weaknesses CWE-22
CPEs cpe:2.3:a:chainlit:chainlit:*:*:*:*:*:*:*:*
Vendors & Products Chainlit
Chainlit chainlit
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H'}

cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Chainlit Chainlit
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-09T14:49:36.459Z

Reserved: 2026-09-04T22:51:17.817Z

Link: CVE-2026-86099

cve-icon Vulnrichment

Updated: 2026-09-09T14:47:39.625Z

cve-icon NVD

Status : Received

Published: 2026-09-09T14:17:20.387

Modified: 2026-09-09T15:17:12.453

Link: CVE-2026-86099

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-09T16:45:13Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')