Skip to content
OpenAdvisories
High · 7.5 CVE-2026-82639 EUVD-2026-68215GHSA-87fx-h8m6-gxwv

NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure

Published Aug 30, 2026 · Updated Sep 24, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
ChatGPTNextWeb NextChat 2.15.8 – ≤ 2.16.1 —

References