CVE-2026-82639
8.7high
NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.38% (higher than 33% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ChatGPTNextWeb NextChat | from 2.15.8 up to 2.16.1 | CVE List |
All scores
| VulnCheck | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
References
| https://github.com/ChatGPTNextWeb/NextChat/issues/6814 | exploit, issue-tracking | |
| https://github.com/ChatGPTNextWeb/NextChat | product | |
| https://github.com/ChatGPTNextWeb/NextChat/blob/v2.16.1/app/api/proxy.ts | technical-description | |
| https://www.vulncheck.com/advisories/nextchat-2.15.8-through-2.16.1-openai-api-key-disclosure | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-82639 changed 2026-09-24 | CVE Terms of Use |
| NVD | CVE-2026-82639 changed 2026-09-10 | Public domain |