{
  "id": "CVE-2026-22218",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-22218",
  "published_at": "2026-01-19T23:14:52.969Z",
  "title": "Chainlit \u003c 2.9.4 Arbitrary File Read via /project/element",
  "vendor": "Chainlit",
  "product": "Chainlit",
  "cvss": {
    "score": 7.1,
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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/\u003cchainlitKey\u003e, allowing disclosure of any file readable by the Chainlit service.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:chainlit:chainlit:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1,
    "nvd": 6.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Chainlit",
        "product": "Chainlit",
        "ranges": [
          "\u003c 2.9.4"
        ],
        "fixed_in": [
          "2.9.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Chainlit to 2.9.4 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/Chainlit/chainlit/releases/tag/2.9.4"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.zafran.io/resources/chainleak-critical-ai-framework-vulnerabilities-expose-data-enable-cloud-takeover",
      "source": "cvelist",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
