CVE-2024-7040

CVE-2024-7040 is a medium-severity vulnerability in Openwebui Open Webui with a CVSS 3.x base score of 4.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-639.

Key facts

Description

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.

Frequently asked questions

What is CVE-2024-7040?
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.
How severe is CVE-2024-7040?
CVE-2024-7040 has a CVSS 3.x base score of 4.9, rated medium severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
Is CVE-2024-7040 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (43rd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-7040?
CVE-2024-7040 affects Openwebui Open Webui. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-7040?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-7040 have an EU (EUVD) identifier?
Yes. CVE-2024-7040 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-6948.
When was CVE-2024-7040 published?
CVE-2024-7040 was published on 2025-03-20 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Openwebui Open Webui

All CVEs affecting Openwebui Open Webui →

Other CWE-639 (Authorization Bypass Through User-Controlled Key (IDOR)) vulnerabilities

Browse all CWE-639 (Authorization Bypass Through User-Controlled Key (IDOR)) vulnerabilities →