Em resumo
- CVE-2026-22218 é uma vulnerabilidade MÉDIO (CVSS 6.5) que afeta chainlit, chainlit (chainlit).
- Chance de exploração nos próximos 30 dias (EPSS): 9.7%, maior que 95.5% das vulnerabilidades.
- Correção: atualize para 2.9.4 ou posterior.
| Package | Affected versions | Patched versions |
|---|
| chainlit PyPI | < 2.9.4
| 2.9.4
|
| chainlit | < 2.9.4
| 2.9.4
|
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.
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free