Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS01NGY0LXY2djktOXE4Ms4ABAJI
open-webui allows writing and deleting arbitrary files
In version v0.3.8 of open-webui/open-webui, the endpoint /api/pipelines/upload is vulnerable to arbitrary file write and delete due to unsanitized file.filename concatenation with CACHE_DIR. This vulnerability allows attackers to overwrite and delete system files, potentially leading to remote code execution.
Permalink: https://github.com/advisories/GHSA-54f4-v6v9-9q82JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS01NGY0LXY2djktOXE4Ms4ABAJI
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 6 days ago
Updated: 6 days ago
CVSS Score: 6.5
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
Identifiers: GHSA-54f4-v6v9-9q82, CVE-2024-7037
References:
- https://nvd.nist.gov/vuln/detail/CVE-2024-7037
- https://huntr.com/bounties/8508db68-9c99-4b1c-828c-e1bfcacfb847
- https://github.com/open-webui/open-webui/blob/main/backend/main.py#L1513
- https://github.com/advisories/GHSA-54f4-v6v9-9q82
Blast Radius: 1.0
Affected Packages
pypi:open-webui
Dependent packages: 0Dependent repositories: 0
Downloads: 32,806 last month
Affected Version Ranges: <= 0.3.8
No known fixed version
All affected versions: 0.1.124, 0.1.125, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8