GHSA-54f4-v6v9-9q82 json
open-webui allows writing and deleting arbitrary files
published 2y ago modified 2mo ago also CVE-2024-7037 , PYSEC-2026-1721
- cvss
- 6.5
- version 3.0, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
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.
Is GHSA-54f4-v6v9-9q82 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H |
| OSV | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | open-webui | <=0.3.8 |
no fix listed |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
nvd.nist.gov
/vuln/detail/CVE-2024-7037
advisory
-
github.com
/open-webui/open-webui
package
-
github.com
/open-webui/open-webui/blob/main/backend/main.py#L1513
web
-
huntr.com
/bounties/8508db68-9c99-4b1c-828c-e1bfcacfb847
web
-
pypi.org
/project/open-webui
package
-
github.com
/advisories/GHSA-54f4-v6v9-9q82
advisory
Sources
- GitHub Advisory GHSA-54f4-v6v9-9q82
- OSV PYSEC-2026-1721
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.