Skip to main content

Open WebUI EUVDEUVD-2026-44628

| CVE-2026-56398 HIGH
Improper Input Validation (CWE-20)
2026-07-15 VulnCheck GHSA-5p6h-xfw9-p64q
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker controls IdP picture claim
  2. Delivery
    Point claim to attacker .svg URL
  3. Exploit
    Complete OAuth login to Open WebUI
  4. Install
    SVG stored as image/svg+xml data URI
  5. C2
    Victim opens profile image endpoint
  6. Execute
    Inline SVG script runs in same origin
  7. Impact
    Steal localStorage token, take over account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires that Open WebUI be configured with OAuth/OIDC login and profile-image provisioning from the IdP picture claim, and that the attacker can make the picture claim resolve to an attacker-controlled URL whose path ends in .svg returning malicious SVG content (e.g. via a permissive/attacker-influenced identity provider or open registration). The attacker needs an authenticated context (CVSS PR:L), and the SVG only executes when a user navigates directly to the GET /api/v1/users/{id}/profile/image endpoint as a top-level document (CVSS UI:P - passive user interaction). Limiting factors: it is NOT unauthenticated or zero-click; deployments that already set CSP and X-Content-Type-Options via the environment-gated security headers, or that do not use OAuth picture-claim imports, are not exploitable through this path.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N) scoring 8.5 is internally consistent with the description: network-reachable, low complexity, requires low privileges (an authenticated Open WebUI account able to complete OAuth), passive user interaction (the victim must navigate to the image endpoint), and high confidentiality/integrity impact via token theft and account takeover. No EPSS score, no SSVC decision, and no KEV listing were provided, so real-world exploitation probability cannot be quantified from the data - but this is not merely a high-CVSS paper risk: the GHSA advisory includes concrete file/line source evidence proving the bug is real and trivially triggerable by anyone who controls, or can influence, the picture claim value returned to a victim. One nuance limits blast radius: the most direct attack requires the attacker to control the SVG hosted at the picture URL for a targeted account, and the victim must then visit the raw image endpoint, so this favors targeted account takeover over mass, unauthenticated compromise. Absence of EPSS/KEV should be read as 'no exploitation data available,' not as evidence of safety.

Exploit ScenarioDerived

An attacker with (or who can influence) an Open WebUI account logs in through an OAuth/OIDC provider whose picture claim points to an attacker-hosted URL ending in .svg that returns a malicious SVG containing <script> reading localStorage.token. Open WebUI stores it as an image/svg+xml data URI; when the victim (or the attacker viewing their own token via the same-origin document) navigates to GET /api/v1/users/{id}/profile/image, the SVG loads as a top-level document and its script runs in the app origin, exfiltrating the authentication token for account takeover. No published proof-of-concept was provided, but the advisory supplies exact vulnerable source lines, making reliable exploitation straightforward.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 15, 2026

Stored cross-site scripting in Open WebUI before 0.9.5 lets an attacker plant a malicious SVG as a victim's OAuth profile image and execute script in the application's origin. During OAuth login, the picture claim URL is fetched and its MIME type is guessed from the file extension rather than the response Content-Type, so a .svg URL is stored as a data:image/svg+xml;base64,... URI that bypasses the profile-image allowlist; when an authenticated user opens the profile image endpoint the SVG is served inline with no default CSP, running JavaScript that reads localStorage.token for account takeover. Reported by VulnCheck with a detailed GHSA source-code advisory; no public exploit identified at time of analysis and it is not in CISA KEV.

RemediationAI

Vendor-released patch: 0.9.5 - upgrade Open WebUI to 0.9.5 or later, which routes OAuth-supplied profile images through proper validation. If you cannot upgrade immediately, apply concrete compensating controls: enable a restrictive Content-Security-Policy and set X-Content-Type-Options: nosniff via the environment-gated security-header settings (this neutralizes inline SVG script execution but may require testing against any legitimate inline-content features), and enforce a server-side allowlist so profile images stored as data URIs are limited to PNG/JPEG/GIF/WebP (blocking image/svg+xml). Where feasible, disable OAuth-based profile-image import or the OAuth login path entirely until patched (trade-off: users lose IdP avatar sync / SSO convenience). Reference the vendor advisory GHSA-3wgj-c2hg-vm6q for the authoritative fix. Do not invent alternate version numbers - 0.9.5 is the confirmed fixed release.

Affected VersionsENISA

open-webui 0 <0.9.5

Affected Packages

pypi open-webui fix: 0.9.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in Open WebUI's OAuth identity-provisioning code (backend/open_webui/utils/oauth.py, _process_picture_url). When a user authenticates via an OpenID Connect / OAuth provider, Open WebUI downloads the image referenced by the IdP picture claim, base64-encodes it, and derives the MIME type using Python's mimetypes.guess_type(picture_url) - an extension-based lookup that trusts the URL string and ignores the actual HTTP Content-Type. This is a classic CWE-20 improper input validation / trust-boundary error: the normal validate_profile_image_url Pydantic validator (in utils/validate.py) restricts profile images to PNG/JPEG/GIF/WebP, but the OAuth existing-user (oauth.py:1536-1540) and new-user (oauth.py:1556-1574) write paths call SQLAlchemy directly via Users.update_user_profile_image_url_by_id / Auths.insert_new_auth, never instantiating those Pydantic models, so the allowlist is skipped entirely. SVG is an active content type - it can carry inline <script> and event handlers - and the endpoint GET /api/v1/users/{id}/profile/image returns the stored data URI with the attacker-chosen image/svg+xml Content-Type and Content-Disposition: inline, while CSP and X-Content-Type-Options are environment-gated and unset by default. The only affected product is open-webui/open-webui (CPE cpe:2.3:a:open-webui:open-webui:*:*:*:*:*:*:*:*). The advisory notes this is the same trust-boundary class as CVE-2025-64496 and CVE-2025-64495 but a distinct sink and code path.

Know when Open Webui gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.5 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.3 HIGH

Authenticated OAuth user needed (PR:L) and victim must open the image endpoint (UI:R); token theft yields account takeover (C:H/I:H), no availability impact and same-origin script keeps scope unchanged.

3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 15, 2026 - 13:03 EUVD
CVE Published
Jul 15, 2026 - 11:25 cve.org
HIGH 8.5

DescriptionCVE.org

Open WebUI before 0.9.5 contains a stored cross-site scripting vulnerability in the OAuth authentication flow where the picture claim URL MIME type is inferred from file extension rather than Content-Type header, allowing SVG files to bypass the profile image validator and be stored as data URIs. Authenticated users who visit the profile image endpoint receive attacker-controlled SVG content with inline disposition and no default security headers, enabling script execution in the same origin to steal authentication tokens and achieve account takeover.

Executive ViewAI

Why It Matters

Open WebUI before version 0.9.5 contains a stored cross-site scripting vulnerability allowing attackers to steal authentication credentials through malicious profile images, leading to account compromise and unauthorized system access. Any organization running affected versions exposes users to credential theft and account takeover. Immediate containment actions are required to protect active user accounts and downstream data.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable or strictly restrict user profile image uploads; (2) Implement Content Security Policy headers prohibiting inline script execution; (3) Enforce MIME type validation from HTTP response Content-Type headers rather than file extensions; (4) Reject SVG and other executable file formats in OAuth profile image handling; (5) Monitor authentication logs for anomalous token access or session activity; (6) Restrict profile image viewing to authenticated users with appropriate access controls; (7) Audit existing user profiles for presence of malicious SVG files.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
popular self-hosted LLM web UI, common in AI deployments not enterprise-ubiquitous
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2024-8017 CRITICAL POC
9.0 Mar 20

An XSS vulnerability exists in open-webui/open-webui versions <= 0.3.8, specifically in the function that constructs the

CVE-2024-7044 HIGH POC
8.9 Mar 20

A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of open-webui/open-webui

CVE-2024-6707 HIGH POC
8.8 Aug 07

Attacker controlled files can be uploaded to arbitrary locations on the web server's filesystem by abusing a path traver

CVE-2026-87995 HIGH POC
8.7 Sep 09

Stored cross-site scripting in Open WebUI's terminal port preview feature allows an authenticated attacker sharing a ter

CVE-2024-8053 HIGH POC
8.2 Mar 20

In version v0.3.10 of open-webui/open-webui, the `api/v1/utils/pdf` endpoint lacks authentication mechanisms, allowing u

CVE-2026-87016 HIGH POC
8.1 Sep 09

OAuth and SCIM identity confusion in Open WebUI 0.6.41-0.10.x (SQLite-backed deployments only) allows unauthenticated re

CVE-2026-87996 HIGH POC
7.7 Sep 09

DNS rebinding SSRF in Open WebUI versions 0.9.6 through 0.11.0 allows authenticated users who control authoritative DNS

CVE-2026-87011 HIGH POC
7.5 Sep 09

Denial of service in Open WebUI versions 0.9.0-0.11.0 allows unauthenticated remote attackers to stall the application s

CVE-2024-7983 HIGH POC
7.5 Mar 20

In version 0.3.8 of open-webui, an endpoint for converting markdown to HTML is exposed without authentication. Rated hig

CVE-2026-26193 HIGH POC
7.3 Feb 19

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. [CVSS 7.3 HIGH]

CVE-2026-26192 HIGH POC
7.3 Feb 19

Stored XSS in Open WebUI prior to version 0.7.0 allows authenticated users to inject malicious HTML payloads into chat d

CVE-2026-87998 HIGH POC
7.1 Sep 09

Improper privilege management in Open WebUI 0.10.0 through 0.11.0 allows any authenticated low-privilege user with write

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy