{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-82639", "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "state": "PUBLISHED", "assignerShortName": "VulnCheck", "dateReserved": "2026-08-30T13:06:02.366Z", "datePublished": "2026-08-30T13:23:39.106Z", "dateUpdated": "2026-08-30T13:23:39.106Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "shortName": "VulnCheck", "dateUpdated": "2026-08-30T13:23:39.106Z" }, "datePublic": "2026-07-05T00:00:00.000Z", "title": "NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure", "descriptions": [ { "lang": "en", "value": "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." } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "description": "Improper Input Validation", "cweId": "CWE-20", "type": "CWE" } ] } ], "affected": [ { "vendor": "ChatGPTNextWeb", "product": "NextChat", "defaultStatus": "unaffected", "packageURL": "pkg:github/ChatGPTNextWeb/NextChat", "versions": [ { "version": "2.15.8", "lessThanOrEqual": "2.16.1", "status": "affected", "versionType": "semver" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:nextchat:nextchat:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.15.8", "versionEndIncluding": "2.16.1" } ] } ] } ], "metrics": [ { "format": "CVSS", "cvssV4_0": { "version": "4.0", "vectorString": "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", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "baseScore": 8.7, "baseSeverity": "HIGH" } }, { "format": "CVSS", "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE", "baseScore": 7.5, "baseSeverity": "HIGH" } } ], "references": [ { "url": "https://github.com/ChatGPTNextWeb/NextChat/issues/6814", "tags": [ "issue-tracking" ], "name": "GitHub Issue #6814" }, { "url": "https://github.com/ChatGPTNextWeb/NextChat", "tags": [ "product" ] }, { "url": "https://github.com/ChatGPTNextWeb/NextChat/blob/v2.16.1/app/api/proxy.ts", "tags": [ "technical-description" ] }, { "name": "VulnCheck Advisory: NextChat 2.15.8 through 2.16.1 OpenAI API Key Disclosure", "tags": [ "third-party-advisory" ], "url": "https://www.vulncheck.com/advisories/nextchat-2.15.8-through-2.16.1-openai-api-key-disclosure" } ], "credits": [ { "lang": "en", "value": "George Chen", "type": "reporter" } ], "x_generator": { "engine": "vulncheck-endgame" } } } }