published 30 Aug 2026 · updated 24 Sep 2026
NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure
7.5HighCVSS 7.5EPSS 1%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ChatGPTNextWeb | >=2.15.8 <=2.16.1 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket