7.7
CWE
918
Advisory Published
Advisory Published
Updated

CVE-2024-7959: SSRF in open-webui/open-webui

First published: Thu Mar 20 2025(Updated: )

The `/openai/models` endpoint in open-webui/open-webui version 0.3.8 is vulnerable to Server-Side Request Forgery (SSRF). An attacker can change the OpenAI URL to any URL without checks, causing the endpoint to send a request to the specified URL and return the output. This vulnerability allows the attacker to access internal services and potentially gain command execution by accessing instance secrets.

Credit: security@huntr.dev

Affected SoftwareAffected VersionHow to fix
open-webui
pip/open-webui<=0.3.8

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-7959?

    CVE-2024-7959 has a critical severity level due to its potential for enabling Server-Side Request Forgery (SSRF) attacks.

  • How do I fix CVE-2024-7959?

    To fix CVE-2024-7959, you should upgrade to a version of open-webui newer than 0.3.8, where this vulnerability has been addressed.

  • What type of vulnerability is CVE-2024-7959?

    CVE-2024-7959 is categorized as a Server-Side Request Forgery (SSRF) vulnerability.

  • What can an attacker do with CVE-2024-7959?

    An attacker can exploit CVE-2024-7959 to make requests to arbitrary URLs, potentially leading to data leakage or internal network attacks.

  • Which versions of open-webui are affected by CVE-2024-7959?

    CVE-2024-7959 affects open-webui version 0.3.8 and earlier versions.

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