{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.12.0"
                  },
                  {
                    "last_affected": "2.12.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          },
          "events": [
            {
              "introduced": "0565fd0eccb915fce159929598b053ed79f6e0c9"
            },
            {
              "last_affected": "0565fd0eccb915fce159929598b053ed79f6e0c9"
            }
          ],
          "repo": "https://github.com/chainlit/chainlit",
          "type": "GIT"
        }
      ],
      "versions": [
        "2.12.0"
      ]
    }
  ],
  "aliases": [
    "GHSA-hvfh-5mj3-5f3j"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120492.json"
  },
  "details": "Chainlit 2.12.0 contains a server-side request forgery vulnerability that allows unauthenticated attackers to bypass path-scoped MCP allowed_urls entries because validate_mcp_url does not reject the semicolon character. Attackers can submit MCP URLs with '..;' segments to the /mcp endpoint, causing requests to paths outside the operator's grant on origins that strip semicolon path parameters.",
  "id": "CVE-2026-120492",
  "modified": "2026-11-28T03:45:35.983403809Z",
  "published": "2026-11-02T14:29:20.711Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120492.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Chainlit/chainlit/security/advisories/GHSA-hvfh-5mj3-5f3j"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120492"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/chainlit-2.12.0-ssrf-via-semicolon-path-segment-in-mcp-allowed-urls"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Chainlit/chainlit"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/Chainlit/chainlit/blob/2.12.0/backend/chainlit/mcp.py#L199-L208"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/Chainlit/chainlit/blob/2.12.0/backend/chainlit/mcp.py#L90-L177"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Chainlit 2.12.0 SSRF via Semicolon Path Segment in MCP allowed_urls"
}