CVE-2026-82639 PUBLISHED

NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure

Assigner: VulnCheck
Reserved: 30.08.2026 Published: 30.08.2026 Updated: 30.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 8.7

Product Status

Vendor ChatGPTNextWeb
Product NextChat
Versions Default: unaffected
  • affected from 2.15.8 to 2.16.1 (incl.)

Credits

  • George Chen reporter

References

Problem Types

  • Improper Input Validation CWE