{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7821bc8681ea054783f850f188f7c41293b766ae"
                  },
                  {
                    "fixed": "a6347229a578c7659257b90e2d5f3980d2afdc44"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "a6347229a578c7659257b90e2d5f3980d2afdc44"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "7821bc8681ea054783f850f188f7c41293b766ae"
            },
            {
              "fixed": "a6347229a578c7659257b90e2d5f3980d2afdc44"
            }
          ],
          "repo": "https://github.com/mickael-kerjean/filestash",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-601"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142275.json"
  },
  "details": "Filestash before commit a634722 contains an open redirect vulnerability in the MCP OAuth flow that allows remote attackers to steal session tokens via an unvalidated redirect_uri. Attackers can lure logged-in users to a crafted /mcp/authorize link, capture the authorization code, and exchange it at /mcp/token for the victim's session token.",
  "id": "CVE-2026-142275",
  "modified": "2026-12-02T17:45:26.182999301Z",
  "published": "2026-12-02T16:49:22.193Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142275.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/mickael-kerjean/filestash"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/mickael-kerjean/filestash/blob/76238d7fc8a090433ee0ea5976b14a6e660f5419/server/plugin/plg_handler_mcp/handler_auth.go#L89-L156"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/mickael-kerjean/filestash/blob/76238d7fc8a090433ee0ea5976b14a6e660f5419/server/plugin/plg_handler_mcp/index.go#L35-L41"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mickael-kerjean/filestash/commit/a6347229a578c7659257b90e2d5f3980d2afdc44"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142275"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/filestash-before-commit-a634722-session-token-theft-via-mcp-oauth-redirect-uri"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Filestash before commit a634722 Session Token Theft via MCP OAuth redirect_uri"
}