{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "v1.159.0"
                  },
                  {
                    "fixed": "v1.215.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "951fe24b8e090eae86bf8edb13a788916b1e6c91"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v1.215.2",
                "range": [
                  {
                    "fixed": "98d7bf434a58c7085f52623f25cd2dcde40b2b65"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "422f1dcfe443c043050e0675d4d3520873d41a32"
            },
            {
              "fixed": "98d7bf434a58c7085f52623f25cd2dcde40b2b65"
            },
            {
              "fixed": "951fe24b8e090eae86bf8edb13a788916b1e6c91"
            }
          ],
          "repo": "https://github.com/diillson/chatcli",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-95vg-3r9c-2v5q"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-346"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123271.json"
  },
  "details": "ChatCLI before v1.215.2 contains an improper validation vulnerability in the MCP OAuth login flow that uses server-supplied Protected Resource Metadata as the resource indicator without checking it matches the configured server URL. A malicious MCP server can declare another resource on the same authorization server, obtain the user's bearer token for it, and replay that token against the other resource.",
  "id": "CVE-2026-123271",
  "modified": "2026-11-14T02:30:57.924904420Z",
  "published": "2026-11-05T18:45:35.481Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123271.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/diillson/chatcli/releases/tag/v1.215.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/diillson/chatcli/security/advisories/GHSA-95vg-3r9c-2v5q"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-123271"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/chatcli-before-1.215.2-origin-validation-error-via-unvalidated-mcp-oauth-resource-indicator"
    },
    {
      "type": "FIX",
      "url": "https://github.com/diillson/chatcli/commit/951fe24b8e090eae86bf8edb13a788916b1e6c91"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/diillson/chatcli"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/diillson/chatcli/blob/359eb27debc4de78289a9662551a51ab4528e16c/cli/mcp/oauth.go#L477-L493"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ChatCLI before v1.215.2 Origin Validation Error via Unvalidated MCP OAuth Resource Indicator"
}