Security mailing lists by PureSourceCode

CVE-2026-22218

HIGH 7.1CVSS 4.0

chainlit : Chainlit allows authenticated arbitrary file reads through custom element updates

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.

Published
20 Jan 2026
Last modified
16 Nov 2026
Assigned by
disclosure@vulncheck.com
NVD status
Analyzed
Weakness
CWE-22CWE-73
Also known as
GHSA-gm79-2pvc-wc75PYSEC-2026-598
Sources
NVDJSONOSV GHSA-gm79-2pvc-wc75JSONOSV PYSEC-2026-598JSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 HIGH 7.1 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
OSV PyPA CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD chainlit chainlit
cpe:2.3:a:chainlit:chainlit:*:*:*:*:*:*:*:*
< 2.9.4 2.9.4
OSV PyPI chainlit < 2.9.4 2.9.4

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 20 Jan 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Jan 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Jan 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.