CVE-2026-82639 NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure
HighCVSS 8.7
EPSS 0.51%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| chatgptnextweb/nextchat | >= 2.15.8, <= 2.16.1 | after 2.16.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| chatgptnextweb/nextchat | >= 2.15.8, <= 2.16.1 | No fix listed |
References
- GitHub Issue #6814 exploit issue-tracking
- github.com product
- github.com technical-description
- VulnCheck Advisory: NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure third-party-advisory
- ENISA EUVD EUVD-2026-68215 third-party-advisory