nday
CVE-2026-22218 GHSA-gm79-2pvc-wc75

Chainlit < 2.9.4 Arbitrary File Read via /project/element

Chainlit / Chainlit

Correctif recensé 301 jours après la divulgation. Version corrigée : chainlit 2.9.4. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

tags weakness typepath traversal accessnetworkno user interaction ecosystemPyPI
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

path traversal
CWE-22, stated by the CNA VulnCheck, NVD, republishing [email protected] et GitHub advisory GHSA-gm79-2pvc-wc75CWE-73, stated by GitHub advisory GHSA-gm79-2pvc-wc75
network
AV:N in 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 (CVSS 4.0) from the CNA VulnCheck
no user interaction
UI:N in 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 (CVSS 4.0) from the CNA VulnCheck
PyPI
GHSA-gm79-2pvc-wc75: pip packages chainlit
étape actuelle
PAT
divulgation
délai avant correctif
T+301d
CVSS
7.1 HIGH v4.0

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
01-19T23:14Z
PATcorrectif
11-16T23:03Z
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:N
None: success does not depend on how the target is deployed or running
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 4.0 vector from the CVE record, scored by the CNA VulnCheck.

Journal des événements

+DISdivulgation

Fiche CVE publiée par VulnCheck. CVSS 7.1, gravité élevée. Évaluation SSVC de la CISA : exploitation au niveau « poc ».

source cvelist · importé en masse par nday le · brut
{
  "id": 9285,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-22218",
  "occurred_at": "2026-01-19T23:14:52.969Z",
  "observed_at": "2026-11-12T14:10:31.286634Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "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",
      "version": "4.0",
      "base_score": 7.1,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-01-21T19:37:14.195072Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-01-19T23:14:52.969Z",
    "assigner_short_name": "VulnCheck"
  }
}
source non datée ; vu en direct par nday
+PATcorrectif disponible

L’avis indique la version corrigée chainlit 2.9.4. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-gm79-2pvc-wc75 · observé en direct par nday le · brut
{
  "id": 475789,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-gm79-2pvc-wc75",
  "occurred_at": null,
  "observed_at": "2026-11-16T23:03:12.59201Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-gm79-2pvc-wc75",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 6.5,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
      },
      "cvss_v4": {
        "score": 7.1,
        "vector_string": "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"
      }
    },
    "cwes": [
      {
        "name": "Improper Limitation of a Pathname to a Restricted Directory",
        "cwe_id": "CWE-22"
      },
      {
        "name": "External Control of File Name or Path",
        "cwe_id": "CWE-73"
      }
    ],
    "ghsa_id": "GHSA-gm79-2pvc-wc75",
    "packages": [
      {
        "name": "chainlit",
        "ecosystem": "pip",
        "first_patched_version": "2.9.4",
        "vulnerable_version_range": "< 2.9.4"
      }
    ],
    "severity": "high",
    "references": [
      "https://nvd.nist.gov/vuln/detail/CVE-2026-22218",
      "https://github.com/Chainlit/chainlit/releases/tag/2.9.4",
      "https://www.vulncheck.com/advisories/chainlit-arbitrary-file-read-via-project-element",
      "https://www.zafran.io/resources/chainleak-critical-ai-framework-vulnerabilities-expose-data-enable-cloud-takeover",
      "https://github.com/Chainlit/chainlit/pull/2737",
      "https://github.com/Chainlit/chainlit/commit/ffc3cce648b343b933e10e85ee5805c7e02ab3bf",
      "https://github.com/advisories/GHSA-gm79-2pvc-wc75"
    ],
    "fix_commit_urls": [
      "https://github.com/Chainlit/chainlit/pull/2737",
      "https://github.com/Chainlit/chainlit/commit/ffc3cce648b343b933e10e85ee5805c7e02ab3bf"
    ],
    "github_reviewed_at": "2026-11-16T22:36:32Z",
    "advisory_updated_at": "2026-11-16T22:36:32Z",
    "source_code_location": "https://github.com/Chainlit/chainlit",
    "advisory_published_at": "2026-01-20T00:30:28Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.