{"id":"CVE-2026-22218","state":"PUBLISHED","title":"Chainlit < 2.9.4 Arbitrary File Read via /project/element","description":"Chainlit versions prior to 2.9.4 contain an arbitrary file read vulnerability in the /project/element update flow. An authenticated client can send a custom Element with a user-controlled path value, causing the server to copy the referenced file into the attacker’s session. The resulting element identifier (chainlitKey) can then be used to retrieve the file contents via /project/file/<chainlitKey>, allowing disclosure of any file readable by the Chainlit service.","publishedAt":"2026-01-19T23:14:52.969Z","updatedAt":"2026-07-14T15:53:19.759Z","severity":{"score":7.1,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["Chainlit Chainlit"],"affected":[{"vendor":"Chainlit","product":"Chainlit","packageURL":"pkg:github/Chainlit/chainlit","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.9.4","versionType":"semver"}],"repo":"https://github.com/Chainlit/chainlit"}],"references":["https://github.com/Chainlit/chainlit/releases/tag/2.9.4","https://www.zafran.io/resources/chainleak-critical-ai-framework-vulnerabilities-expose-data-enable-cloud-takeover","https://www.vulncheck.com/advisories/chainlit-arbitrary-file-read-via-project-element"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/22xxx/CVE-2026-22218.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-22218","state":"PUBLISHED","datePublished":"2026-01-19T23:14:52.969Z","dateUpdated":"2026-07-14T15:53:19.759Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-01-06T17:54:14.091Z"},"containers":{"cna":{"title":"Chainlit < 2.9.4 Arbitrary File Read via /project/element","descriptions":[{"lang":"en","value":"Chainlit versions prior to 2.9.4 contain an arbitrary file read vulnerability in the /project/element update flow. An authenticated client can send a custom Element with a user-controlled path value, causing the server to copy the referenced file into the attacker’s session. The resulting element identifier (chainlitKey) can then be used to retrieve the file contents via /project/file/<chainlitKey>, allowing disclosure of any file readable by the Chainlit service."}],"affected":[{"vendor":"Chainlit","product":"Chainlit","packageURL":"pkg:github/Chainlit/chainlit","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.9.4","versionType":"semver"}],"repo":"https://github.com/Chainlit/chainlit"}],"references":[{"url":"https://github.com/Chainlit/chainlit/releases/tag/2.9.4","tags":["release-notes","patch"]},{"url":"https://www.zafran.io/resources/chainleak-critical-ai-framework-vulnerabilities-expose-data-enable-cloud-takeover","tags":["technical-description","exploit"]},{"url":"https://www.vulncheck.com/advisories/chainlit-arbitrary-file-read-via-project-element","tags":["third-party-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":7.1,"baseSeverity":"HIGH","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-14T15:53:19.759Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:chainlit:chainlit:*:*:*:*:*:*:*:*","versionEndExcluding":"2.9.4"}]}]}],"credits":[{"lang":"en","type":"finder","value":"Ido Shani and Gal Zaban of Zafran Security"}],"x_generator":{"engine":"Vulnogram 0.5.0"},"source":{"discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-21T19:37:14.195072Z","id":"CVE-2026-22218","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-21T19:42:24.327Z"}}]}}}