CWE
284
Advisory Published
Updated

CVE-2024-7040: Improper Access Control in open-webui/open-webui

First published: Thu Mar 20 2025(Updated: )

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.

Credit: security@huntr.dev

Affected SoftwareAffected VersionHow to fix
open-webui

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-7040?

    CVE-2024-7040 is classified as a medium severity vulnerability due to improper access control.

  • How do I fix CVE-2024-7040?

    To fix CVE-2024-7040, update to the latest version of open-webui which addresses the access control issue.

  • What is the impact of CVE-2024-7040?

    The impact of CVE-2024-7040 allows unauthorized access to chat logs of admin users by modifying the user_id parameter.

  • Who is affected by CVE-2024-7040?

    CVE-2024-7040 affects installations of open-webui version v0.3.8.

  • Is there a workaround for CVE-2024-7040?

    Currently, there is no specific workaround for CVE-2024-7040, so upgrading is the recommended solution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203