CVE-2024-7959: Open WebUI SSRF Vulnerability in open-webui Package

open-webui Updated 07 Jul 2026

Summary

07/07/2026
No i
High
7.7

CVE-2024-7959: Open WebUI has SSRF in /openai/models. Affects open-webui versions < 0.3.8. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The open-webui package is a web interface designed to interact with OpenAI models, allowing users to easily access and utilize AI functionalities. Version 0.3.8 of this package has been identified as vulnerable to a Server-Side Request Forgery (SSRF) attack, which can lead to unauthorized access to internal services.

Vulnerability Detail

The vulnerability exists in the '/openai/models' endpoint of the open-webui package, where an attacker can manipulate the OpenAI URL parameter without any validation. This allows the attacker to send requests to arbitrary URLs, potentially accessing sensitive internal services and gaining command execution capabilities by retrieving instance secrets. The SSRF vulnerability can lead to severe security breaches, making it critical to address promptly.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can restrict access to the '/openai/models' endpoint by implementing network-level controls or by validating the OpenAI URL parameter to ensure it only points to trusted domains.

Conclusion

The SSRF vulnerability in the open-webui package poses significant risks to applications utilizing this package. It is crucial to update to a patched version to mitigate these risks. Implementing workarounds can provide temporary relief, but a permanent fix through updates is recommended.

See every vulnerability recorded for open-webui →

Share this vulnerability

FAQ

Server-Side Request Forgery (SSRF) is a vulnerability that allows an attacker to send crafted requests from a vulnerable server to internal or external resources, potentially exposing sensitive information.

If exploited, this vulnerability can allow attackers to access internal services, retrieve sensitive data, and potentially execute commands on your server.

Yes, updating the open-webui package to a version later than 0.3.8 will resolve this vulnerability.

Implement network-level controls to restrict access to the vulnerable endpoint and validate the OpenAI URL parameter to mitigate the risk temporarily.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

Related vulnerabilities

Recent vulnerabilities recorded for open-webui.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback