CVE-2026-82639
NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure
CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-20 |
| Vendor | chatgptnextweb |
| Product | nextchat |
| Published | Aug 30, 2026 |
Stay Ahead of the Next One
Get instant alerts for chatgptnextweb nextchat
Be the first to know when new high vulnerabilities affecting chatgptnextweb nextchat are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
ChatGPTNextWeb / NextChat
2.15.8 โค 2.16.1
References
github.com: https://github.com/ChatGPTNextWeb/NextChat/issues/6814 github.com: https://github.com/ChatGPTNextWeb/NextChat github.com: https://github.com/ChatGPTNextWeb/NextChat/blob/v2.16.1/app/api/proxy.ts vulncheck.com: https://www.vulncheck.com/advisories/nextchat-2.15.8-through-2.16.1-openai-api-key-disclosure
Credits
๐ George Chen