CVE-2026-82639
Received
Received - Intake
Improper URL Validation in NextChat Exposes OpenAI API Key
Vulnerability report for CVE-2026-82639, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-08-30
Last updated on: 2026-08-30
Assigner: VulnCheck
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| chatgptnextweb | nextchat | From 2.15.8 (inc) to 2.16.1 (inc) |
| chatgptnextweb | nextchat | 2.16.1 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-20 | The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. |