CVE-2024-7040

Source
https://cve.org/CVERecord?id=CVE-2024-7040
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-7040.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-7040
Published
2025-03-20T10:09:45.114Z
Modified
2026-07-15T01:48:58.284845694Z
Severity
  • 4.9 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Improper Access Control in open-webui/open-webui
Details

In version v0.3.8 of open-webui/open-webui, there is an improper access control vulnerability. On the frontend admin page, administrators are intended to view only the chats of non-admin members. However, by modifying the user_id parameter, it is possible to view the chats of any administrator, including those of other admin (owner) accounts.

Database specific
{
    "cwe_ids": [
        "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7040.json",
    "cna_assigner": "@huntr_ai"
}
References

Affected packages

Git / github.com/open-webui/open-webui

Affected ranges

Type
GIT
Repo
https://github.com/open-webui/open-webui
Events
Database specific
{
    "cpe": "cpe:2.3:a:openwebui:open_webui:0.3.8:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0.3.8"
        },
        {
            "last_affected": "0.3.8"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

0.*
0.3.8
v0.*
v0.3.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-7040.json"