{"id":"CVE-2026-82639","published":"2026-08-30T13:23:39Z","modified":"2026-09-24T14:20:34Z","title":"NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure","vendor":"ChatGPTNextWeb","product":"NextChat","tier":"tail","description":{"text":"NextChat versions from 2.15.8 through 2.16.1 contain an improper URL validation vulnerability in the proxy endpoint that allows attackers to obtain the server's OpenAI API key. The x-base-url header is validated using substring matching instead of hostname parsing, allowing any URL containing 'api.openai.com' to pass validation and receive the server's credentials in the Authorization header.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00508,"percentile":0.44321,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/ChatGPTNextWeb/NextChat/issues/6814","tags":["issue-tracking"]},{"url":"https://github.com/ChatGPTNextWeb/NextChat","tags":["product"]},{"url":"https://github.com/ChatGPTNextWeb/NextChat/blob/v2.16.1/app/api/proxy.ts","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/nextchat-2.15.8-through-2.16.1-openai-api-key-disclosure","tags":["third-party-advisory"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":8.86},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"chatgptnextweb","affectedVersions":[{"vendor":"ChatGPTNextWeb","product":"NextChat","versions":[">= 2.15.8, <= 2.16.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-31T16:51:12.882744Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-68215","exploited":false,"provenance":"source"}}