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.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-08-30 14:17
Updated : 2026-09-10 15:53
NVD link : CVE-2026-82639
Mitre link : CVE-2026-82639
CVE.ORG link : CVE-2026-82639
JSON object : View
Products Affected
No product.
CWE
CWE-20
Improper Input Validation
