Reliance on File Name or Extension of Externally-Supplied File Affecting open-webui package, versions [,0.9.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Reliance on File Name or Extension of Externally-Supplied File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-OPENWEBUI-16725486
  • published17 May 2026
  • disclosed14 May 2026
  • creditmaloleg

Introduced: 14 May 2026

NewCVE-2026-45315  (opens in a new tab)
CWE-434  (opens in a new tab)
CWE-646  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade open-webui to version 0.9.3 or higher.

Overview

open-webui is an Open WebUI

Affected versions of this package are vulnerable to Reliance on File Name or Extension of Externally-Supplied File via the audio transcription upload process. An attacker can execute arbitrary JavaScript in the context of another user's session by uploading a specially crafted file with a malicious extension and tricking a victim into accessing the resulting URL. This can lead to theft of session tokens and full account takeover. This is only exploitable if the chat.stt permission is enabled for the attacker.

Workaround

This vulnerability can be mitigated by setting USER_PERMISSIONS_CHAT_STT=False to revoke the upload right from non-admins.

CVSS Base Scores

version 4.0
version 3.1