CVE-2026-82639
HighCVSS 7.5Exploitation Probability (EPSS)
Low risk22th percentile - higher than 22% of all known CVEs
Summary
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.
Risk Assessment
Risk of exposing the OpenAI API key, potentially leading to unauthorized resource usage and financial costs.
Recommendation
Update NextChat to a version newer than 2.16.1 that fixes this vulnerability. Additionally, consider restricting access to the proxy endpoint.
Other vulnerabilities in NextChat
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

