PoC Monitor
← All CVEs
CVE-2026-45401published 15 May 2026 20:37 UTCData: JSON · API

Open-webui

Open WebUI: SSRF Bypass via HTTP Redirect Following in Web-Fetch and Image-Load Endpoints

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.5, the validate_url() function in backend/open_webui/retrieval/web/utils.py only validates the initial URL submitted by the caller. The HTTP clients used downstream (sync requests, async aiohttp, langchain's WebBaseLoader) follow HTTP 3xx redirects by default and do not re-validate the redirect target against the private-IP / metadata-IP block list. Any authenticated user can therefore submit a public URL that 302-redirects to an internal address (e.g. 127.0.0.1, 169.254.169.254, RFC1918) and read the internal response body via the /api/v1/retrieval/process/web endpoint, the /api/v1/images/... endpoints, the /api/chat/completions endpoint with an image_url content part, and any other route that calls these helpers. This vulnerability is fixed in 0.9.5.

First public PoC 10 daysafter publication · 26 May 2026
Public PoCs11 on GitHub
CVSS8.5high · scored by CNA · CWE-918
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

open-webui open-webui
  • < 0.9.5

Fixed in 0.9.5

Mitigation

Upgrade open-webui to 0.9.5 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8+10+12CVE published15 May 2026 · t = 0First public PoC26 May 2026 · t+10d

First public PoC 10 days after publication; not in CISA KEV. First PoC: nayakchinmohan/CVE-2026-45401 (created 26 May 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
nayakchinmohan/CVE-2026-45401 26 May 2026 +10 d 1 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /api/chat/completions

Key headers
Authorization: Bearer {var}
Body markers
"type": "image_url" "image_url": {"url": "{var}"} "model": "any" "role": "user" in application/json
Ports
3000, 8000
Seen in
1 repo: nayakchinmohan/CVE-2026-45401
Evidence
nayakchinmohan/CVE-2026-45401/exploit_ssrf.sh:35 nayakchinmohan/CVE-2026-45401/exploit_ssrf.sh:35-47

POST /api/v1/retrieval/process/web

Query
process=false
Key headers
Authorization: Bearer {var}
Body markers
"url" "url": "{var}" {"url": in application/json
Ports
3000, 8000
Seen in
1 repo: nayakchinmohan/CVE-2026-45401
Evidence
nayakchinmohan/CVE-2026-45401/exploit_ssrf.sh:24 nayakchinmohan/CVE-2026-45401/exploit_ssrf.sh:24-27

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /api/chat/completions
(?i)^/api/chat/completions(?:[?#].*)?$
POST /api/v1/retrieval/process/web
(?i)^/api/v1/retrieval/process/web\?(?:.*&)?process=false

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /api/chat/completions
alert http any any -> $HOME_NET [3000,8000] (msg:"GG PoC-Monitor CVE-2026-45401 open-webui open-webui exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/chat/completions"; http.header; content:"Authorization: Bearer "; nocase; http.request_body; content:"|22|type|22|: |22|image_url|22|"; http.request_body; content:"|22|image_url|22|: {|22|url|22|: |22|"; http.request_body; content:"|22|model|22|: |22|any|22|"; http.request_body; content:"|22|role|22|: |22|user|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-45401; classtype:web-application-attack; sid:9566277; rev:1;)
POST /api/v1/retrieval/process/web
alert http any any -> $HOME_NET [3000,8000] (msg:"GG PoC-Monitor CVE-2026-45401 open-webui open-webui exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v1/retrieval/process/web"; http.uri; content:"process=false"; http.header; content:"Authorization: Bearer "; nocase; http.request_body; content:"|22|url|22|"; http.request_body; content:"|22|url|22|: |22|"; http.request_body; content:"{|22|url|22|:"; reference:url,poc.griffinguard.io/cve/CVE-2026-45401; classtype:web-application-attack; sid:9569250; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /api/chat/completions
title: open-webui open-webui exploit attempt (CVE-2026-45401)
id: gg-pocmon-cve-2026-45401-9566277
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-45401. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-45401
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/chat/completions'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.45401
POST /api/v1/retrieval/process/web
title: open-webui open-webui exploit attempt (CVE-2026-45401)
id: gg-pocmon-cve-2026-45401-9569250
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-45401. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-45401
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/v1/retrieval/process/web'
    cs-uri-query|contains|all:
      - 'process=false'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.45401