CVE-2024-7040

MEDIUM
Published Mar 20, 2025 Modified Oct 15, 2025 CWE-639

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.

Is your site exposed to CVE-2024-7040?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

4.9
MEDIUM
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Weakness Type (CWE)

CWE-639 CWE-639

Affected Products

Vendor Product
openwebui open_webui

References

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. It has a CVSS v3.1 base score of 4.9 (MEDIUM).
How severe is CVE-2024-7040? +
CVE-2024-7040 has a CVSS v3.1 score of 4.9 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2024-7040? +
CVE-2024-7040 affects products from openwebui, specifically: open_webui. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-7040? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-7040 — free, no signup required.