Skip to main content

Open WebUI CVE-2026-54020

| EUVDEUVD-2026-52900 MEDIUM
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-08-04 GitHub_M GHSA-h6x2-583h-x99r
6.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Recon
    Register domain with TTL=0 alternating DNS responses
  2. Delivery
    Authenticate to Open WebUI instance
  3. Exploit
    Submit attacker domain as URL to retrieval ingest endpoint
  4. Install
    Validation resolves to public IP, blocklist check passes
  5. C2
    HTTP client re-resolves hostname, receives internal IP (e.g., 169.254.169.254)
  6. Execute
    Server fetches cloud metadata or internal API response
  7. Impact
    Internal response returned to attacker as document content

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

A valid authenticated account on the Open WebUI instance is required; no administrator rights and no non-default configuration are needed for the URL ingest, image_url, and image-editing entry points. The attacker must control the authoritative DNS server for a hostname they submit and configure it with TTL=0 records that alternate responses to win the timing window between the two resolution calls - the attacker influences but does not fully control this race. For the OAuth profile-picture path, additional conditions apply: OAuth login must be configured on the instance, the picture claim (OAUTH_PICTURE_CLAIM, default value picture) must be user-influenceable (true on self-service OIDC providers or providers with user-editable avatar URLs), and OAUTH_UPDATE_PICTURE_ON_LOGIN must be enabled (disabled by default); deployments with no OAuth configured are not affected by that specific path. The image-edit entry point is blind - the attacker cannot read the internal response - while the retrieval and chat image paths return the response directly to the attacker.

Impact

The CVSS 6.3 vector AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N accurately reflects the mechanics: network-exploitable via any browser-reachable Open WebUI instance, but AC:H correctly captures that exploiting the DNS rebinding race requires timing control the attacker influences (via TTL=0) but does not guarantee. PR:L confirms a regular authenticated account is sufficient - no admin rights required - which meaningfully lowers the barrier on multi-tenant or self-service instances. The S:C/C:H combination is significant: on cloud hosts with IMDSv1 enabled, successful exploitation yields instance IAM credentials, escalating real-world impact well beyond the 6.3 base score. No EPSS data was provided in the input; the AC:H metric suggests below-average automated exploitation probability, but the technique is well-documented and the DNS infrastructure requirement is achievable by a motivated attacker. This CVE is not listed in CISA KEV, and no public proof-of-concept code is identified at time of analysis, meaning confirmed active exploitation is not established. Defenders should weight severity by deployment context: cloud-hosted instances with IMDSv1 and multi-user access represent the highest-risk tier; air-gapped or single-user instances are substantially lower risk.

Exploit ScenarioDerived

An attacker with a standard Open WebUI account registers a domain and configures its authoritative name server to serve TTL=0 A records, alternating between a legitimate public IP and 169.254.169.254. The attacker submits their domain as a document URL via Open WebUI's retrieval ingest; validation resolves to the public IP and passes the blocklist check, while the HTTP client's subsequent resolution returns the metadata service address. The internal AWS IMDSv1 response containing instance IAM credentials is returned to the attacker as retrieved document content.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 04, 2026

DNS rebinding bypasses Open WebUI's SSRF protection in all versions prior to 0.11.0, enabling authenticated attackers who control authoritative DNS for a submitted hostname to reach internal resources - including cloud instance metadata services (e.g., 169.254.169.254), loopback admin APIs, and internal network services. The root cause is a TOCTOU race: the hostname is resolved once for validation and again at connection time, letting a TTL=0 DNS record switch from a public IP during the check to an internal IP during the actual fetch. On most vulnerable paths the internal response is returned directly to the attacker; the OAuth path additionally forwards the OAuth access token as a Bearer header to the attacker-controlled internal target, enabling credential theft. No public exploit identified at time of analysis.

RemediationAI

Upgrade Open WebUI to version 0.11.0 or later (pip install --upgrade open-webui), which resolves the TOCTOU race by enforcing the IP blocklist at the connection layer rather than as a pre-flight DNS check; see the vendor advisory at https://github.com/open-webui/open-webui/security/advisories/GHSA-h6x2-583h-x99r and release notes at https://github.com/open-webui/open-webui/releases/tag/v0.11.0. If immediate upgrade is not feasible, restrict instance access to known-trusted authenticated users only, as any account can attempt exploitation with no elevated rights. Additionally, enable IMDSv2 (token-required mode) on AWS - or the equivalent session-token-based metadata service on GCP and Azure - to deny cloud credential access even if SSRF succeeds; note this does not protect loopback admin APIs or internal services. Disabling or restricting OAuth login eliminates the token-forwarding path specifically, though the other three ingest paths remain affected without upgrading.

Affected VersionsENISA

open-webui < 0.11.0

Affected Packages

pypi open-webui fix: 0.11.0

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 vulnerability is a classic DNS rebinding / TOCTOU flaw (CWE-367) in Open WebUI's URL validation pipeline. The affected code resolves a user-supplied hostname once, checks the resulting IP against a blocklist of private (RFC 1918), loopback, and link-local ranges, then passes the original hostname to an HTTP client which re-resolves it independently at connection time. An attacker controlling authoritative DNS for the submitted hostname can serve TTL=0 records alternating between a public IP (to clear the blocklist check) and an internal IP (to redirect the actual HTTP connection). The CPE cpe:2.3:a:open-webui:open-webui:*:*:*:*:*:*:*:* covers all releases; the pip package is confirmed vulnerable through 0.10.2. Four distinct entry points are affected: URL ingest for document retrieval, image_url fields in chat completions, image editing, and OAuth profile-picture fetches. The fix in v0.11.0 (PRs #24759, #25775, #25960, #26699) eliminates the race by enforcing the IP blocklist at the connection layer rather than as a pre-flight check.

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 (GitHub_M) PRIMARY 6.3 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
vuln.today AI 6.3 MEDIUM

DNS rebinding race requires timing control and DNS authority (AC:H), authenticated account (PR:L), reaches internal systems beyond application scope (S:C), leaks confidential data with no integrity or availability impact.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Aug 04, 2026 - 21:01 EUVD

DescriptionCVE.org

Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. Prior to 0.11.0, Open WebUI resolved a hostname during URL validation and rejected private, loopback, and link-local addresses, but the HTTP clients resolved the hostname again at connection time. An authenticated attacker who controlled authoritative DNS for a submitted hostname could answer with a public address during validation and an internal one during connection, reaching cloud metadata, loopback admin APIs, or internal services through URL ingest, chat image_url fetches, image editing, or OAuth profile-picture fetches, with most paths returning the response to the attacker and the OAuth path forwarding the OAuth access token. This issue is fixed in 0.11.0.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 pypi packages depend on open-webui (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 0.11.0.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
popular self-hosted AI frontend, growing but not ubiquitous
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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