PyPi: Open-Webui

CVE-2024-7034

Safety vulnerability ID: 76243

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Mar 20, 2025 Updated at Sep 25, 2025
Scan your Python projects for vulnerabilities →

Advisory

Affected versions of the open-webui package are vulnerable to Arbitrary File Overwrite due to improper input validation of user-supplied filenames. The /models/upload endpoint constructs file paths using file_path = f"{UPLOAD_DIR}/{file.filename}" without sanitizing the file.filename parameter, allowing directory traversal sequences to escape the intended upload directory. An attacker can exploit this vulnerability by crafting malicious filenames containing path traversal sequences to overwrite arbitrary files on the system, potentially modifying system binaries, configuration files, or sensitive data to achieve remote code execution.

Affected package

open-webui

Latest version: 0.6.31

Open WebUI

Affected versions

Fixed versions

Vulnerability changelog

This vulnerability has no description

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 7.2

CVSS v3 Details

HIGH 7.2
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
HIGH
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
HIGH