{"id":"CVE-2026-123271","summary":"ChatCLI before v1.215.2 Origin Validation Error via Unvalidated MCP OAuth Resource Indicator","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.","aliases":["GHSA-95vg-3r9c-2v5q"],"modified":"2026-11-14T02:30:57.924904420Z","published":"2026-11-05T18:45:35.481Z","database_specific":{"cwe_ids":["CWE-346"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123271.json","cna_assigner":"VulnCheck"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/diillson/chatcli","events":[{"introduced":"422f1dcfe443c043050e0675d4d3520873d41a32"},{"fixed":"98d7bf434a58c7085f52623f25cd2dcde40b2b65"},{"fixed":"951fe24b8e090eae86bf8edb13a788916b1e6c91"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"v1.159.0"},{"fixed":"v1.215.2"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"951fe24b8e090eae86bf8edb13a788916b1e6c91"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"v1.215.2","range":[{"fixed":"98d7bf434a58c7085f52623f25cd2dcde40b2b65"}]}]}}],"versions":["v1.215.1","v1.215.0","v1.214.0","v1.213.1","v1.213.0","v1.212.2","v1.212.1","v1.212.0","v1.211.2","v1.211.1","v1.211.0","v1.210.3","v1.210.2","v1.210.1","v1.210.0","v1.209.0","v1.208.2","v1.208.1","v1.208.0","v1.207.2","v1.207.1","v1.207.0","v1.206.0","v1.205.1","v1.205.0","v1.204.0","v1.203.0","v1.202.0","v1.201.0","v1.200.0","v1.199.3","v1.199.2","v1.199.1","v1.199.0","v1.198.0","v1.197.0","v1.196.1","v1.196.0","v1.195.0","v1.194.0","v1.193.1","v1.193.0","v1.192.0","v1.191.0","v1.190.1","v1.190.0","v1.189.1","v1.189.0","v1.188.0","v1.187.1","v1.187.0","v1.186.1","v1.186.0","v1.185.0","v1.184.0","v1.183.0","v1.182.1","v1.182.0","v1.181.3","v1.181.2","v1.181.1","v1.181.0","v1.180.0","v1.179.0","v1.178.0","v1.177.0","v1.176.0","v1.175.0","v1.174.0","v1.173.0","v1.172.0","v1.171.0","v1.170.1","v1.170.0","v1.169.5","v1.169.4","v1.169.3","v1.169.2","v1.169.1","v1.169.0","v1.168.1","v1.168.0","v1.167.0","v1.166.1","v1.166.0","v1.165.1","v1.165.0","v1.164.0","v1.163.0","v1.162.1","v1.162.0","v1.161.0","v1.160.2","v1.160.1","v1.160.0","v1.159.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-123271.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","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"}]}