NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure
cve-program · CVE-2026-82639
PublishedNextChat 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-82639 · CVE overview and exploitation status
cve-program · CVE-2026-82639
Related changes
Linked by CVE identifierNo related changes are available here.