SB20260505106 - Path traversal in Open WebUI



SB20260505106 - Path traversal in Open WebUI

Published: May 5, 2026

Security Bulletin ID SB20260505106
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Path traversal (CVE-ID: N/A)

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a remote user to overwrite and delete arbitrary files.

The vulnerability exists due to path traversal in the /ollama/models/upload API route when handling file upload requests with a crafted filename. A remote user can upload a file with dot-segments in its filename to overwrite and delete arbitrary files.

The file is temporarily written to disk before being forwarded to an internal API and then removed, so exploitation is limited to files writable by the account running the web server.


Remediation

Install update from vendor's website.