---
id: CVE-2024-7038
aliases:
  - GHSA-mq92-jr35-ffpc
  - PYSEC-2026-1738
title: >-
  open-webui allows enumeration of file names and traversal of directories by
  observing the error messages
summary: >-
  open-webui allows enumeration of file names and traversal of directories by
  observing the error messages
severity: low
cvss: 2.7
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N'
vendor: open-webui
product: open-webui
ecosystem: pip
affected:
  - open-webui <= 0.3.8
published: '2024-10-09'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-mq92-jr35-ffpc'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-7038'
  - url: 'https://github.com/open-webui/open-webui'
  - url: >-
      https://github.com/open-webui/open-webui/blob/eff736acd2e0bbbdd0eeca4cc209b216a1f23b6a/backend/apps/rag/main.py#L199
  - url: 'https://huntr.com/bounties/f42cf72a-8015-44a6-81a9-c6332ef05afc'
tags:
  - osv
  - pip
epss: 0.00345
epssPercentile: 0.26735
ingestedAt: '2026-07-08T18:25:51.413Z'
---

## Overview

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.

## Affected packages

- `open-webui <= 0.3.8`

## Remediation

Refer to the advisory for the patched release.
