AgentbeamBeta
AI agent vulnerability · Open WebUI

CVE-2026-70479: Open WebUI: SSRF into internal services via unvalidated sub-resource requests in the Playwright web loader

highCVSS 3.1 7.7GHSA-w2rx-84hp-gg95

Open WebUI 0.9.6 up to 0.11.0 has an SSRF in the Playwright web loader. The address check ran only on the top-level page, so the page's own JavaScript could reach cloud metadata and internal services, and the result came back in web-search or RAG output. Only installs with `WEB_LOADER_ENGINE=playwright` are affected. Upgrade to 0.11.0.

Published Aug 4, 2026 · Analysis Nov 8, 2026

What an attacker can do

With the Playwright loader on, Open WebUI opens a user-submitted URL in a real browser and returns the page's final DOM. SafePlaywrightURLLoader in backend/open_webui/retrieval/web/utils.py has request interceptors, sync and async, that validate the destination address. They returned early for every resource type except document. A page is more than one request, though. After the validated document loads, its scripts issue further requests under the page's control, and those were never checked.

An attacker therefore hosts a page whose script fetches 169.254.169.254/latest/meta-data/ or an internal API, and reads the answer into the DOM. Because the DOM is returned through web search or document ingestion, this is a read primitive and not a blind one. Reachable targets include cloud instance metadata, other containers on the same network and internal APIs on private addresses.

The attacker needs an authenticated account that can submit a URL for ingestion or trigger a web search. No admin role is needed. The vendor notes the flaw gives no write access or availability impact, and goes no further than the browser's own network position. A browser container with no route to internal services exposes nothing. The reporter showed it by driving the interceptor directly with stand-in objects, not an end-to-end browser run.

Who is affected

The pip package open-webui from 0.9.6 up to but not including 0.11.0, and only when WEB_LOADER_ENGINE=playwright is set. The default web loader is not affected. A Playwright browser must be reachable, either local or through PLAYWRIGHT_WS_URL.

pip show open-webui

Then check your environment or container configuration for WEB_LOADER_ENGINE. For Docker, check the image tag.

open-webui

Ecosystem
PyPI
Affected
>= 0.9.6, < 0.11.0
Fixed in
0.11.0
Check
pip show open-webui

How to fix it

Upgrade to open-webui 0.11.0:

pip install --upgrade "open-webui>=0.11.0"

Per the advisory, commit bef63a2ae validates every request the browser makes, fetches each with redirects disabled, and re-validates on every redirect hop before fulfilling it. Service-worker requests are blocked with service_workers="block", and WebSocket connections are stopped by a route handler that never connects upstream. No configuration change is needed after the upgrade.

The pull request 27526 linked from the advisory page concerns closing Playwright pages on failure, not this fix. Until you upgrade, switch WEB_LOADER_ENGINE back to the default loader, or deny the browser's route to metadata and internal ranges.

How to tell if you were hit

Look at web search and document ingestion requests from users for URLs you do not recognise, particularly pages that are not public content. Check the Playwright browser's network egress logs for requests to 169.254.169.254, private ranges and other containers. Check ingested documents and search results for content that looks like metadata JSON, internal API output or admin pages.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

With the Playwright web loader enabled, Open WebUI opens user-submitted URLs in a real browser and validates the destination address before allowing the request. That check only ran for the top-level page request. Every other request the page issued was passed through unvalidated, so a page could use its own JavaScript to reach addresses the validation exists to block. Because the loader returns the page's final DOM to the requesting user, anything the page read back from those addresses ends up in the web-search or RAG output.

Preconditions

  • WEB_LOADER_ENGINE=playwright. This is not the default; deployments on the default web loader are unaffected.
  • A reachable Playwright browser, either local or via PLAYWRIGHT_WS_URL.
  • Any authenticated user who can submit a URL for ingestion or trigger a web search. No administrator role is required.
  • Something worth reading on a network the browser can reach. A deployment whose browser container has no route to internal services loses nothing here.

Impact

An authenticated user can read HTTP responses from services reachable by the browser process: cloud instance metadata, other containers on the same network, and internal APIs bound to private addresses. The content is returned to the user through the normal web-search or document-ingestion result, so this is a read primitive, not a blind one. It confers no write access and no availability impact, and it does not extend beyond what the browser's network position already allows.

Fix

Fixed in 0.11.0 by commit bef63a2ae. Every intercepted request is now validated, fetched with redirects disabled, re-validated on each redirect hop and then fulfilled, so neither a sub-resource nor a redirect can land on a non-global address. The same change blocks the two paths that never reached the interceptor at all: service-worker requests, via service_workers="block", and WebSocket connections, via a route handler that never connects upstream. Upgrading to 0.11.0 fully resolves the issue; no configuration change is required.

Root cause

Affected component: SafePlaywrightURLLoader in backend/open_webui/retrieval/web/utils.py, in both the sync and async request interceptors. Affected setup: only builds running the Playwright loader engine.

The interceptor was written to guard navigation, and its first action was to return early for any request whose resource type was not document. The intent was that only the page the user asked for needs address validation, but a browser page is not a single request: once the validated document loads, its scripts issue further requests under the page's own control, and those never reached the validation. The address check was therefore applied to the one request the attacker did not need to control, and skipped on every request they did.

Proof of concept

Reported against 0.10.2 by driving the interceptor directly with stand-in route and request objects, one call per resource type, against http://169.254.169.254/latest/meta-data/. The document type is aborted; every other type is continued unvalidated. The browser and the network request were seeded rather than driven end to end; the code path exercised is the one the browser reaches for each sub-resource.

Credits

  • @edwardav970 — identified that address validation was applied only to the top-level document request, leaving every sub-resource type unvalidated.

Credited to edwardav970, Classic298.

Questions

Is the default Open WebUI install affected by CVE-2026-70479?

No. Only deployments with WEB_LOADER_ENGINE=playwright are affected. Installs on the default web loader are not.

What can an attacker read?

Responses from services the Playwright browser can reach: cloud instance metadata, other containers and internal APIs. The content comes back through web-search or ingestion output.

Does the attacker need admin rights?

No. Any authenticated user who can submit a URL for ingestion or trigger a web search can do it.

Which version fixes it?

open-webui 0.11.0, with no configuration change needed.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More Open WebUI vulnerabilities

All Open WebUI entries