Skip to main content

Open WebUI EUVDEUVD-2026-30648

| CVE-2026-45347 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-14 https://github.com/open-webui/open-webui GHSA-f776-fp4w-266c
5.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate to Open WebUI
  2. Delivery
    Compose or intercept chat message
  3. Exploit
    Inject img tag with attacker URL into title field
  4. Install
    POST to /api/v1/utils/pdf
  5. C2
    Server parses HTML and fetches image URL
  6. Execute
    Outbound GET request issued from server
  7. Impact
    Attacker detects request or observes side effects on target service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Authentication is required; the attacker must possess valid credentials to access Open WebUI and the PDF export endpoint (/api/v1/utils/pdf). The attacker must have the ability to compose or edit chat messages that are subsequently exported to PDF, or must have access to intercept and modify the PDF export request in transit. Exploitation requires no special deployment configuration or feature flags - the PDF export function is available by default in all versions < 0.5.11. The vulnerability is limited to blind SSRF attacks (response content is not accessible to the attacker), constraining exploitation to enumeration via timing-based probing, triggering state changes, or requesting URLs with side effects. The attack is not impeded by modern browser security controls because the request originates from the server backend, not the client.

Impact

CVSS score of 4.3 with vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N indicates low-to-moderate risk grounded in authentication requirements (PR:L) and lack of direct confidentiality impact. The SSRF is classified as 'blind' because the attacker cannot directly read response content, limiting the attack to request-side effects (asset enumeration via timing, triggering state changes on internal services, or probing internal network topology). The integrity impact (I:L) reflects the ability to trigger unintended state changes on internal or external systems through forced GET requests. Real-world risk is further constrained by the requirement for authenticated users (PR:L), meaning opportunistic exploitation is unlikely against multi-tenant deployments without compromised credentials. However, in single-user or internally-deployed Open WebUI instances, this becomes a critical internal-to-external information leakage vector. The vulnerability's exploitability is straightforward (AC:L, no user interaction required once authenticated), and the patch (v0.5.11, released February 2025) is available and implements proper output encoding via html.escape(), confirming the remediation is effective and complete.

Exploit ScenarioDerived

An authenticated user crafts a chat message and initiates PDF export via the /api/v1/utils/pdf endpoint. The attacker injects an image tag with a malicious src attribute into the title field: <img src='https://attacker-controlled-domain.com/probe' />. When the server generates the PDF, the fpdf2 library parses the HTML and attempts to fetch the image, causing the server to issue an outbound GET request. By monitoring request logs on the attacker's domain, the attacker confirms server-side request initiation and can probe internal IP addresses, internal service endpoints, or trigger side effects on internal systems (e.g., cache invalidation, webhook triggers) without directly reading the responses.

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

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

Alert me

AnalysisAIv1 – May 14, 2026

Blind server-side request forgery (SSRF) in Open WebUI versions prior to 0.5.11 allows authenticated users to force arbitrary GET requests from the server via malicious HTML image tags embedded in the PDF export function. The vulnerability exists because user-supplied input (title, content, role, model, and date fields) is interpreted as HTML before being passed to the PDF generator without proper sanitization, enabling attackers to enumerate internal assets and trigger outbound requests despite response content not being readable.

RemediationAI

Upgrade Open WebUI to version 0.5.11 or later, which patches the vulnerability by wrapping all user-controllable input fields (title, content, role, model, formatted date) in html.escape() before passing the HTML template to fpdf2.write_html(). The escaped output renders malicious HTML tags as literal text rather than parsed markup. Patch details and verification are available at the GitHub repository: https://github.com/open-webui/open-webui/commit/167c8bf00d165af523acfc3b870749f6be6d3e57 and security advisory https://github.com/open-webui/open-webui/security/advisories/GHSA-f776-fp4w-266c. No workaround is recommended for versions < 0.5.11 due to the inherent risk of SSRF and the simplicity of the fix; upgrading is the only reliable mitigation. Organizations unable to upgrade immediately should restrict PDF export functionality to trusted users or disable the feature entirely via configuration until patching is feasible.

Affected VersionsENISA

open-webui < 0.5.11

Affected Packages

pypi open-webui fix: 0.5.11

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

Open WebUI's PDF generation functionality uses the fpdf2 library to convert user-provided chat data into PDF documents. The vulnerable code path flows through the pdf_generator.py module, which constructs an HTML template containing user-controlled fields (title, message content, role, model name, formatted timestamp) and passes this HTML directly to fpdf2's write_html() method. The fpdf2 library interprets HTML markup including image tags, causing the browser or PDF renderer to attempt to load the URL specified in the src attribute. Because HTML parsing occurs server-side before PDF generation, a malicious image tag with a server-reachable domain (e.g., attacker-controlled external service or internal IP) triggers a GET request from the server itself rather than the client, bypassing network controls. The root cause is CWE-918 (Server-Side Request Forgery), where insufficient input validation and lack of output encoding allows user input to be interpreted as control structures rather than data.

Know when the next one hits your stack

  • 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

NVD PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

2
CVSS changed
Nov 11, 2026 - 20:22 NVD
4.3 (MEDIUM) 5.4 (MEDIUM)
CVE Published
May 14, 2026 - 20:22 nvd
MEDIUM 4.3

DescriptionNVD

Summary

Blind server side request forgery (SSRF) via the PDF generate function. The finding resulted from a penetration test for a customer. It is suspected that the root cause of the issue lies within the core of Open WebUI, which is why it is being reported as a security issue here. Tested on Open WebUI 0.5.4.

Details

In the PDF export, user inputs are interpreted as HTML and embedded into the PDF. According to tests, scripts and some potentially dangerous tags (iFrame, Object, etc.) are blocked, preventing server-side content from being read through this vulnerability. However, an image tag can be used to force a server-side request (SSRF), as shown in the following below.

PoC

Start a chat and export the PDF: !grafik

Intercept the request and insert an <img> tag into the title:

http
POST /api/v1/utils/pdf HTTP/2
Host: domain.local
//Some headers removed
Content-Type: application/json
Content-Length: 541
Te: trailers

{"title":"<img src='https://d5jok0s7ghl1p77v5brlqlxwmnsega4z.oastify.com' />","messages":[{"id":"81f24589-384d-431c-a26c-5cd3382ac941","parentId":null,"childrenIds":["0c1a3ee1-6350-4bb4-b95e-fc2341c47e8e"],"role":"user","content":"hallo","timestamp":1736932102,"models":["gpt-4o-POC"]},{"parentId":"81f24589-384d-431c-a26c-5cd3382ac941","id":"0c1a3ee1-6350-4bb4-b95e-fc2341c47e8e","childrenIds":[],"role":"assistant","content":"Hallo! Wie kann ich Ihnen helfen?","model":"gpt-4o-POC","modelName":"gpt-4o-POC","modelIdx":0,"userContext":null,"timestamp":1736932103,"done":true}]}

A HTTPS callback was received at https://d5jok0s7ghl1p77v5brlqlxwmnsega4z.oastify.com.

Impact

A user can force server-side GET requests. During the available testing time, no method was found to read the responses (Blind SSRF). Nonetheless, this should be prevented, as an attacker could enumerate internal assets through response delays and trigger arbitrary GET requests.

Resolution

Fixed in commit 167c8bf00, first released in v0.5.11 (2025-02). The fix wraps every user-controllable field that flows into the PDF HTML template (title, content, role, model, formatted date) in html.escape() before the template f-string is fed to fpdf2.write_html(). The PoC payload <img src='...' /> is escaped to &lt;img src=&#x27;...&#x27; /&gt; and rendered as literal text by fpdf2, with no HTML parsing and no outbound request. Users on >= 0.5.11 are not affected.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD 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.0%
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

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