Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. open-webui
  4. ›
  5. CVE-2024-7038

CVE-2024-7038: open-webui allows enumeration of file names and traversal of directories by observing the error messages

October 9, 2024 (updated October 15, 2024)

An information disclosure vulnerability exists in open-webui version 0.3.8. The vulnerability is related to the embedding model update feature under admin settings. When a user updates the model path, the system checks if the file exists and provides different error messages based on the existence and configuration of the file. This behavior allows an attacker to enumerate file names and traverse directories by observing the error messages, leading to potential exposure of sensitive information.

References

  • github.com/advisories/GHSA-mq92-jr35-ffpc
  • github.com/open-webui/open-webui
  • github.com/open-webui/open-webui/blob/eff736acd2e0bbbdd0eeca4cc209b216a1f23b6a/backend/apps/rag/main.py
  • huntr.com/bounties/f42cf72a-8015-44a6-81a9-c6332ef05afc
  • nvd.nist.gov/vuln/detail/CVE-2024-7038

Code Behaviors & Features

Detect and mitigate CVE-2024-7038 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.3.8

Solution

Unfortunately, there is no solution available yet.

Impact 2.7 LOW

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-209: Generation of Error Message Containing Sensitive Information

Source file

pypi/open-webui/CVE-2024-7038.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:14 +0000.