{"schemaVersion":3,"id":"CVE-2026-54015","aliases":["GHSA-4r4w-2wgp-w7cj","PYSEC-2026-2701"],"status":"published","duplicateOf":null,"title":null,"description":"Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, Open WebUI's prompt version-history endpoints authorize the prompt_id in the URL but then act on caller-supplied history IDs without verifying that the history row belongs to that prompt (history_entry.prompt_id == prompt.id). This affects /api/v1/prompts/id/{prompt_id}/history/diff, /api/v1/prompts/id/{prompt_id}/update/version, and /api/v1/prompts/id/{prompt_id}/history/{history_id}. An authenticated user with access to any prompt they control, plus a victim prompt_history.id, can read or delete another user's private prompt history. This vulnerability is fixed in 0.9.6.","dates":{"published":"2026-06-23T16:44:57.526Z","modified":"2026-06-24T14:20:27.712Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L","exploitability":4.1,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00269,"percentile":0.18021,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00269},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00269,"percentile":0.18021}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00269,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00269,"percentile":0.18021}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_OPEN-WEBUI_OPEN-WEBUI","name":"Open Webui","source":"github","url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-8gh5-qqh8-hq3x","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-284","name":"Improper Access Control","description":"The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/284.html"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key","description":"The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/639.html"}],"affected":[{"vendor":"open-webui","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.9.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.6","eol":null,"hubHref":"/vendor/open-webui/open-webui"},{"vendor":"openwebui","product":"open_webui","name":"open webui","label":"open_webui","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.9.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.6","eol":null,"hubHref":"/vendor/openwebui/open_webui"},{"vendor":"PyPI","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/open-webui","purlType":"pypi","versions":[{"text":"< 0.9.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.6","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-4r4w-2wgp-w7cj","label":"github.com/open-webui/open-webui/security/advisories/GHSA-4r4w-2wgp-w7cj","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Exploit","Mitigation","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54015","label":"nvd.nist.gov/vuln/detail/CVE-2026-54015","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-4r4w-2wgp-w7cj","label":"github.com/advisories/GHSA-4r4w-2wgp-w7cj","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/open-webui/open-webui","label":"github.com/open-webui/open-webui","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-2701.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-2701.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://pypi.org/project/open-webui","label":"pypi.org/project/open-webui","hostname":"pypi.org","tags":["WEB","PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-06-23T16:44:57.526Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-24T14:20:27.712Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T14:35:04.418Z","stale":false,"partial":false}}