NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ChatGPTNextWeb | NextChat | 2.15.8 – 2.16.1 | — | No fix listed | CNA |
- NextChat VendorChatGPTNextWeb Affected 2.15.8 – 2.16.1 Fixed in — No fix listed CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:nextchat:nextchat:*:*:*:*:*:*:*:* | — | — | ChatGPTNextWeb |
- cpe:2.3:a:nextchat:nextchat:*:*:*:*:*:*:*:* Versions — — ·ChatGPTNextWeb
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-82639
- 2026-10-03 Alias added: GHSA-87fx-h8m6-gxwv
References
More ChatGPTNextWeb vulnerabilities
- TI-2023-27194 NextChat vulnerable to Server-Side Request Forgery and Cross-site Scripting CVSS 3.1CRITICAL 9.8
- TI-2025-32232 Directory traversal vulnerability in NextChat thru 2.16.0 due to the WebDAV proxy failing… CVSS 3.1HIGH 7.5
- TI-2026-67707 Server-side request forgery in NextChat Proxy Fallback proxyHandler CVSS 4.0MEDIUM 6.9
- TI-2026-06726 ChatGPTNextWeb NextChat actions.ts addMcpServer improper authorization CVSS 4.0MEDIUM 6.9
- TI-2026-06301 ChatGPTNextWeb NextChat Artifacts Endpoint route.ts storeUrl server-side request forgery CVSS 4.0MEDIUM 6.9
- TI-2026-06300 ChatGPTNextWeb NextChat route.ts proxyHandler server-side request forgery CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-82639 · CVE Program
- CVE-2026-82639 · NVD
- FIRST EPSS
- GHSA-87fx-h8m6-gxwv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences