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

CVE-2024-7045: Open WebUI Has Improper Access Control Leading to Arbitrary Prompt Read

March 20, 2025 (updated March 21, 2025)

In version v0.3.8 of open-webui/open-webui, improper access control vulnerabilities allow an attacker to view any prompts. The application does not verify whether the attacker is an administrator, allowing the attacker to directly call the /api/v1/prompts/ interface to retrieve all prompt information created by the admin, which includes the ID values. Subsequently, the attacker can exploit the /api/v1/prompts/command/{command_id} interface to obtain arbitrary prompt information.

References

  • github.com/advisories/GHSA-c7fq-p62p-wvpc
  • github.com/open-webui/open-webui
  • huntr.com/bounties/03ea0826-af7b-4717-b63e-90fd19675ab2
  • nvd.nist.gov/vuln/detail/CVE-2024-7045

Code Behaviors & Features

Detect and mitigate CVE-2024-7045 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 4.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-1100: Insufficient Isolation of System-Dependent Functions

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

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