Vulnérabilité dans open-webui (CVE-2026-45314)
Résumé
Vulnérabilité dans open-webui (CVE-2026-45314). Risque d'opérations non autorisées ou de divulgation. Exploitable via GET /api/v1/channels/webhooks/{webhook_id}/profile/image. Atténuation : mise à jour vers 0.9.3 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
As part of our research on improving our AI pentest, we have uncovered the following issue in Open WebUI. We've manually verified and tided up the report, but you can also find the original agent finding at the bottom of this report.
Summary
The channel webhook create/update flow accepts arbitrary profile_image_url values, including data:image/svg+xml;base64,... payloads. The profile image endpoint then decodes and serves this SVG as image/svg+xml without sanitization, allowing attacker-controlled script handlers (for example onload) to execute when the profile-image URL is opened in the browser.
Details
The server accepts data:image/svg+xml;base64,... values for profile_image_url when creating or updating a webhook. Later, GET /api/v1/channels/webhooks/{webhook_id}/profile/image detects data:image, base64-decodes it, derives the media type from the header (e.g., image/svg+xml), and returns a StreamingResponse with Content-Disposition: inline and media_type set to image/svg+xml. There is no sanitization or transformation. When this URL is opened in a browser, SVG event handlers such as onload execute in the application origin, resulting in stored XSS.
PoC
- Set up a new instance of Open WebUI and log in as admin
- In the Admin Panel, enable Channels (Beta) and click Save
- Create a low-privilege user in the Users tab
- As the attacker, use the low-privilege user to run the following scr…
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-45314 a été découverte dans open-webui.
Des attaquants peuvent cibler un point d'entrée spécifique comme GET /api/v1/channels/webhooks/{webhook_id}/profile/image à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : 6.1/10.
Action : mettez à jour open-webui vers 0.9.3 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « open-webui CVE-2026-45314 » sur le site de l'éditeur.
CVE-2026-45314 (open-webui) — CWE-87 / CVSS v3 6.1
Vecteur d'attaque : distant (réseau) / non authentifié
Surface d'attaque : GET /api/v1/channels/webhooks/{webhook_id}/profile/image / profile_image_url / StreamingResponse / media_type
Correctif : 0.9.3 — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-87) affecte open-webui. Les attaquants atteignent le code vulnérable via GET /api/v1/channels/webhooks/{webhook_id}/profile/image sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de open-webui. Surface d'attaque : GET /api/v1/channels/webhooks/{webhook_id}/profile/image / profile_image_url / StreamingResponse / media_type.
Gravité : Moyenne (CVSS 6.1/10). Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 0.9.3.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
Recherchez dans les logs webserver/proxy/WAF des requêtes anormales vers GET /api/v1/channels/webhooks/{webhook_id}/profile/image (en-têtes d'auth malformés, méta-caractères SQL). Auditez les fichiers de dépendances pour trouver open-webui.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'open-webui' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
open-webuiを grep し、稼働しているサービス・バージョンを把握する。 -
2Hunt for indicators of compromise detect
grep 'GET /api/v1/channels/webhooks/{webhook_id}/profile/image' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'アクセスログで
GET /api/v1/channels/webhooks/{webhook_id}/profile/imageへの異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。 -
3Apply patch patch
Upgrade open-webui to 0.9.3ステージング環境で 0.9.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。
-
4Post-deployment verification verify
Replay attack against GET /api/v1/channels/webhooks/{webhook_id}/profile/image on staging to confirm patch closes the vectorパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com
- web github.com