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.test.osv.dev/v1/vulns/GHSA-jrhc-9qg9-4qfq
Aliases
Published
2025-03-20T12:32:45Z
Modified
2025-03-21T17:34:41.841440Z
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/{fileid} interface to obtain information on any file and the DELETE /api/v1/files/{fileid} interface to delete any file.

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

Affected packages

PyPI / open-webui

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown 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