Skip to content
HighVulnerabilityLLM-specific

CVE-2026-82639: NextChat improper URL validation in proxy endpoint exposes OpenAI API key

Identifier
CVE-2026-82639
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

NextChat versions 2.15.8 through 2.16.1 contain an improper URL validation flaw in the proxy endpoint. The x-base-url header is checked with substring matching rather than hostname parsing, so any URL containing 'api.openai.com' passes validation and receives the server's credentials in the Authorization header, allowing an attacker to obtain the server's OpenAI API key.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.