CVE-2026-82639
published high CVSS 4.0 · 8.7NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ChatGPTNextWeb | — | NextChat2.15.8 through 2.16.1 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ChatGPTNextWeb | NextChat | 2.15.8 through 2.16.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-20 Improper Input Validation
References
4- https://github.com/ChatGPTNextWeb/NextChat
- https://github.com/ChatGPTNextWeb/NextChat/blob/v2.16.1/app/api/proxy.ts
- GitHub Issue #6814 https://github.com/ChatGPTNextWeb/NextChat/issues/6814
- VulnCheck Advisory: NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure https://www.vulncheck.com/advisories/nextchat-2.15.8-through-2.16.1-openai-api-key-disclosure
Provider assertions
2VulnCheck · cna
NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 64b3f20deac43e981950de61f7b243d0092c2b6525bfbe61ba4650aa2049d366
- Ingested
- 30 Sep 2026, 15:34:09 UTC
- Source record
- Official CVE record