CVE-2026-82639

Source
https://cve.org/CVERecord?id=CVE-2026-82639
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82639.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-82639
Published
2026-08-30T13:23:39.106Z
Modified
2026-09-02T03:30:45.035434396Z
Severity
  • 8.7 (High) CVSS_V4 - 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 Calculator
Summary
NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82639.json",
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-20"
    ]
}
References

Affected packages

Git / github.com/chatgptnextweb/nextchat

Affected ranges

Type
GIT
Repo
https://github.com/chatgptnextweb/nextchat
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "2.15.8"
        },
        {
            "last_affected": "2.16.1"
        },
        {
            "fixed": "2.16.1"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "DESCRIPTION"
    ]
}

Affected versions

v2.*
v2.15.8
v2.16.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82639.json"