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.
History

Sun, 30 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
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.
Title NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure
First Time appeared Nextchat
Nextchat nextchat
Weaknesses CWE-20
CPEs cpe:2.3:a:nextchat:nextchat:*:*:*:*:*:*:*:*
Vendors & Products Nextchat
Nextchat nextchat
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-30T13:23:39.106Z

Reserved: 2026-08-30T13:06:02.366Z

Link: CVE-2026-82639

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-30T14:17:03.750

Modified: 2026-08-30T14:17:03.750

Link: CVE-2026-82639

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-30T15:45:04Z