CVE-2026-54018
Undergoing Analysis Undergoing Analysis - In Progress
SSRF Bypass via Redirect in Open WebUI

Publication date: 2026-06-23

Last updated on: 2026-06-23

Assigner: GitHub, Inc.

Description
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, the SafePlaywrightURLLoader implements a validate_url function to prevent SSRF attacks by checking the IP address of the user-provided URL. However, this validation is performed only on the initial URL. Since Playwright automatically follows HTTP redirects (301/302) by default, an attacker can bypass the validation by providing a safe URL that redirects to a restricted internal network address (e.g., localhost, Docker container network, or Cloud Metadata). This allows the application to access internal services despite ENABLE_RAG_LOCAL_WEB_FETCH being set to False This vulnerability is fixed in 0.9.6.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-23
Last Modified
2026-06-23
Generated
2026-06-24
AI Q&A
2026-06-23
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
open_webui open_webui to 0.9.6 (exc)
open_webui open_webui 0.9.6
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Compliance Impact

The CVE-2026-54018 vulnerability allows an attacker to bypass SSRF protections and access internal services and data that should be restricted. This unauthorized access to internal systems could lead to exposure of sensitive or protected information.

Such unauthorized access and potential data exposure may impact compliance with common standards and regulations like GDPR and HIPAA, which require strict controls over access to personal and sensitive data to protect privacy and security.

However, the provided information does not explicitly detail the direct effects on compliance frameworks or specific regulatory requirements.

Executive Summary

CVE-2026-54018 is a Server-Side Request Forgery (SSRF) protection bypass vulnerability in the Open WebUI application, specifically in its Playwright Web Loader component.

The vulnerability occurs because the SafePlaywrightURLLoader only validates the initial user-provided URL to prevent SSRF attacks, but does not validate URLs that are followed after HTTP redirects (301/302). Since Playwright automatically follows these redirects, an attacker can supply a safe initial URL that redirects to restricted internal network addresses such as localhost, Docker container networks, or cloud metadata services.

This allows the attacker to bypass the SSRF protection and access internal services even when the setting ENABLE_RAG_LOCAL_WEB_FETCH is set to False. The issue affects Open WebUI versions prior to 0.9.6 and is fixed in version 0.9.6 by validating all URLs in the redirect chain.

Impact Analysis

This vulnerability can allow an attacker to bypass SSRF protections and access internal network services that should be restricted.

Such unauthorized access could expose sensitive internal resources, data, or metadata services that are not intended to be publicly accessible.

Because the vulnerability enables access to internal systems, it poses a high security risk, potentially leading to data exposure or further exploitation within the internal network.

Detection Guidance

Detection of this vulnerability involves monitoring for unexpected internal network requests originating from the Open WebUI application, especially those following HTTP redirects.

Since the vulnerability allows SSRF via redirects, you can look for outbound HTTP requests from Open WebUI to internal IP addresses such as localhost (127.0.0.1), Docker container networks, or cloud metadata service IPs.

Commands to help detect this might include network traffic monitoring tools or logs inspection, for example:

  • Using tcpdump or tshark to capture HTTP traffic from the Open WebUI host and filter for internal IP addresses:
  • tcpdump -i <interface> 'dst net 127.0.0.0/8 or dst net 172.17.0.0/16 or dst net 169.254.169.254'
  • Inspecting application logs for URLs requested by Open WebUI that include redirects to internal addresses.

Additionally, reviewing the Open WebUI request logs or enabling verbose logging for the Playwright Web Loader component may help identify redirect chains leading to internal network addresses.

Mitigation Strategies

The primary mitigation is to upgrade Open WebUI to version 0.9.6 or later, where the vulnerability is fixed.

The fix involves implementing a request interceptor in Playwright that validates all URLs in the redirect chain, not just the initial URL, preventing SSRF bypass.

If upgrading immediately is not possible, consider restricting network access from the Open WebUI host to internal network addresses to prevent unauthorized internal requests.

Also, review and disable any unnecessary features that allow web fetching or external URL loading, especially if ENABLE_RAG_LOCAL_WEB_FETCH is set to False but the vulnerability still exists.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-54018. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart