CVE-2024-7038: open-webui Information Disclosure via File Enumeration and Directory Traversal

open-webui Updated 02 Oct 2025

Summary

09/10/2024
No i
Low
2.7

CVE-2024-7038: An information disclosure vulnerability exists in open-webui version 0.3.8. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

open-webui is an open-source web application designed for user-friendly interaction with various models and data. It allows users to manage and update model paths through an admin interface. However, its error handling mechanism exposes sensitive information, making it vulnerable to exploitation.

Vulnerability Detail

An information disclosure vulnerability exists in open-webui version 0.3.8. This issue arises from the embedding model update feature in the admin settings. When a user attempts to update the model path, the system checks for the file's existence and returns different error messages based on the result. This behavior can be exploited by an attacker to enumerate file names and traverse directories, potentially leading to the exposure of sensitive information. The vulnerability is categorized under CWE-200, indicating improper handling of sensitive information.

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, administrators can limit access to the admin settings or implement stricter error handling to avoid revealing file existence through error messages. This may involve modifying the error response to be more generic and not disclose specific file paths.

Conclusion

In summary, CVE-2024-7038 is a low-severity information disclosure vulnerability in open-webui that can lead to file enumeration and directory traversal. Users are advised to update to a patched version to mitigate the risk and consider implementing workarounds in the meantime.

See every vulnerability recorded for open-webui →

Share this vulnerability

FAQ

CVE-2024-7038 is a vulnerability in open-webui that allows attackers to enumerate file names and traverse directories by observing error messages.

The vulnerability affects open-webui version 0.3.8 and earlier versions.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability can lead to the exposure of sensitive information, which may be exploited by attackers for unauthorized access or data breaches.

Yes, the CVSS score for this vulnerability is 2.7, indicating a low severity level.

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