GHSA-jrhc-9qg9-4qfq

Suggest an improvement
Source
https://github.com/advisories/GHSA-jrhc-9qg9-4qfq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-jrhc-9qg9-4qfq/GHSA-jrhc-9qg9-4qfq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jrhc-9qg9-4qfq
Aliases
Published
2025-03-20T12:32:45Z
Modified
2026-07-07T17:56:16Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Open WebUI Allows Arbitrary File Reading and Deletion
Details

An improper access control vulnerability in open-webui/open-webui v0.3.8 allows attackers to view and delete any files. The application does not verify whether the attacker is an administrator, allowing the attacker to directly call the GET /api/v1/files/ interface to retrieve information on all files uploaded by users, which includes the ID values. The attacker can then use the GET /api/v1/files/{file_id} interface to obtain information on any file and the DELETE /api/v1/files/{file_id} interface to delete any file.

Database specific
{
    "cwe_ids":  [
        "CWE-821",
        "CWE-862"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-03-21T17:26:04Z",
    "nvd_published_at":  "2025-03-20T10:15:35Z",
    "severity":  "HIGH"
}
References

Affected packages

PyPI / open-webui

Package

Name
open-webui
View open source insights on deps.dev
Purl
pkg:pypi/open-webui

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
0.3.8

Affected versions

0.*
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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-jrhc-9qg9-4qfq/GHSA-jrhc-9qg9-4qfq.json"