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

Chainlit < 2.9.4 Arbitrary File Read via /project/element

Chainlit / Chainlit

Hay constancia de un parche 301 días después de la divulgación. Versión corregida: chainlit 2.9.4. Ninguna de las cuatro fuentes de PoC la recoge. No figura en el KEV de CISA.

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] y 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
etapa
PAT
divulgación
divulgación → parche
T+301d
cvss
7.1 HIGH v4.0

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
01-19T23:14Z
PATparcheada
11-16T23:03Z
ANAanalizada
sin registro aún
POCPoC
sin registro aún
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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.

Registro de eventos

+DISdivulgación

VulnCheck publicó el registro CVE. CVSS 7.1, severidad alta. La evaluación SSVC de CISA asigna a la explotación el valor poc.

fuente cvelist · nday , importación masiva · en bruto
{
  "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"
  }
}
hora observada en tiempo real por nday
+PATparche registrado

Versión corregida según el aviso: chainlit 2.9.4. El aviso enlaza los commits de la corrección. Aviso publicado el ; no consta cuándo se publicó el parche en sí.

fuente ghsa GHSA-gm79-2pvc-wc75 · nday , observado en tiempo real · en bruto
{
  "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.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.