{"data":{"id":"4347ff0d-82cd-4a9e-863a-7bfc65472e07","title":"GHSA-j657-m4c4-24jq: Open WebUI: Terminal proxy forwards a spoofable, integrity-unbound user identity to the upstream (X-User-Id header and ws_terminal session_id query injection)","summary":"The terminal proxy in backend/open_webui/routers/terminals.py forwards the Open WebUI user's identity to the upstream terminal server as an authorization claim with no cryptographic binding. On the HTTP path (proxy_terminal), X-User-Id is sent unsigned and can be spoofed by anyone who can reach the upstream directly. On the WebSocket path (ws_terminal), the unvalidated, unencoded session_id is interpolated into the upstream URL, letting an authenticated user inject a different user_id and attach to another user's live PTY where the backend scopes terminals by user_id.","solution":"Validate and URL-encode session_id before building the upstream URL (urllib.parse.quote(session_id, safe=\"\"); reject ?, #, &, /, %, backslash and control characters), and build the query string with a URL builder. Bind the forwarded identity by emitting a short-lived signed claim (for example HS256 over {uid, iat, aud:server_id} with a key shared only with the specific upstream) and verifying it upstream.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-j657-m4c4-24jq","publishedAt":"2026-07-24T20:49:57.000Z","cveId":"CVE-2026-59224","cweIds":["CWE-287","CWE-290"],"cvssScore":"8","cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["open-webui@< 0.10.0 (fixed: 0.10.0)"],"affectedPackageNames":["open-webui"],"affectedPackageRefs":["pypi:open-webui"],"affectedVendors":[],"affectedVendorsRaw":["Open WebUI"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","attackVector":"network","attackComplexity":"high","privilegesRequired":"low","userInteraction":"required","exploitMaturity":"unknown","epssScore":0.00292,"epssPercentile":0.2339,"epssCheckedAt":"2026-12-03T18:27:05.166Z","epssHistory":null,"epss30dChange":null,"exploitUrls":null,"patchCommitUrls":null,"ssvcExploitation":null,"nvdStatus":null,"referencesCheckedAt":null,"kevDateAdded":null,"advisoryAliases":["GHSA-j657-m4c4-24jq"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-07-24T20:49:57.000Z","fixReleasedAt":"2026-06-29T19:24:31.831Z","daysToFix":-25,"fixCheckedAt":"2026-12-03T18:30:43.571Z","capecIds":["CAPEC-114"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"plugin","llmSpecific":false,"classifierConfidence":0.85,"researchCategory":null,"atlasIds":null,"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":["open-webui@0.10.0"],"affectedPurls":["pkg:pypi/open-webui"],"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":null,"timeline":[{"event":"fix_released","date":"2026-06-29","source":"package_registry"},{"event":"published","date":"2026-07-24","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[{"ecosystem":"pypi","name":"open-webui","fixedVersion":"0.10.0","matchedVersion":"0.10.0","fixReleasedAt":"2026-06-29T19:24:31.831Z","daysToFix":-25,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-12-03T18:30:43.570Z"}]}}