OSV 1.4.0 · github-reviewed · 修改于 2026-09-03 04:49
发布时间
2025-03-20 20:32
GitHub 审查时间
2025-03-22 01:30
NVD 发布时间
2025-03-20 18:15
源文件
advisories/github-reviewed/2025/03/GHSA-crh6-pj8c-xrhc/GHSA-crh6-pj8c-xrhc.json
该公告已于 2026-09-03 04:49 撤回
内容仅用于保留外部引用,请不要将其当作仍然有效的安全结论。
This advisory has been withdrawn because it does not describe a valid vulnerability. This link is maintained to preserve external references.
In open-webui version 0.3.8, the endpoint /models/upload is vulnerable to arbitrary file write due to improper handling of user-supplied filenames. The vulnerability arises from the usage of file_path = f"{UPLOAD_DIR}/{file.filename}" without proper input validation or sanitization. An attacker can exploit this by manipulating the file.filename parameter to include directory traversal sequences, causing the resulting file_path to escape the intended UPLOAD_DIR and potentially overwrite arbitrary files on the system. This can lead to unauthorized modifications of system binaries, configuration files, or sensitive data, potentially enabling remote command execution.