
Cloud Vulnerability DB
A community-led vulnerabilities database
In open-webui version 0.3.8, a path traversal vulnerability was identified in the /models/upload endpoint. The vulnerability was discovered and disclosed on March 20, 2025, affecting the open-webui application (NVD).
The vulnerability stems from improper handling of user-supplied filenames in the /models/upload endpoint. The issue arises from the implementation using file_path = f"{UPLOAD_DIR}/{file.filename}" without proper input validation or sanitization. The vulnerability has been assigned a CVSS v3.0 base score of 6.5 (MEDIUM) with the vector string CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H (NVD).
If exploited, this vulnerability allows attackers to manipulate the file.filename parameter to include directory traversal sequences, enabling them to escape the intended UPLOAD_DIR. This can result in unauthorized modifications of system binaries, configuration files, or sensitive data, potentially leading to remote command execution (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."