CVE-2026-54007
Undergoing Analysis Undergoing Analysis - In Progress
Cross-Site Forced Action in Open WebUI

Publication date: 2026-06-23

Last updated on: 2026-06-23

Assigner: GitHub, Inc.

Description
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, the chat message listener allows non-same-origin input:prompt and action:submit messages, so an external site can set prompt text and trigger submitPrompt() in an authenticated victim session. I validated this with a cross-origin attacker page that auto-posted messages and caused unauthorized POST /api/v1/chats/new and POST /api/chat/completions requests containing attacker-controlled prompts. This enables cross-site forced actions and model/tool execution under victim privileges without consent. This vulnerability is fixed in 0.9.6.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-23
Last Modified
2026-06-23
Generated
2026-06-24
AI Q&A
2026-06-23
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
open_webui open_webui to 0.9.6 (exc)
open_webui open_webui 0.9.6
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-346 The product does not properly verify that the source of data or communication is valid.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Detection Guidance

This vulnerability involves unauthorized cross-origin POST requests to Open WebUI endpoints such as /api/v1/chats/new and /api/chat/completions. Detection can focus on monitoring for unexpected or suspicious POST requests to these API endpoints originating from external or untrusted sources.

Network or system administrators can inspect web server logs or use network monitoring tools to identify such requests. For example, commands to search logs for suspicious POST requests might include:

  • grep 'POST /api/v1/chats/new' /var/log/nginx/access.log
  • grep 'POST /api/chat/completions' /var/log/nginx/access.log

Additionally, monitoring for cross-origin postMessage events or unusual browser activity related to Open WebUI sessions may help detect exploitation attempts, though specific commands for this are not detailed in the provided information.

Executive Summary

CVE-2026-54007 is a high-severity vulnerability in Open WebUI versions 0.9.5 and earlier. It involves a flaw in the chat message listener that allows cross-origin messages of types 'input:prompt' and 'action:submit' to be processed without proper same-origin validation. This means an attacker can create a malicious external website that sends messages to the victim's authenticated Open WebUI session, setting prompt text and triggering prompt submission without the victim's consent.

The vulnerability enables an attacker to silently inject prompts and execute model or tool actions (such as code interpreter, web search, or terminal commands) under the victim's privileges. This happens because the listener does not enforce strict origin checks, allowing unauthorized API calls like POST /api/v1/chats/new and POST /api/chat/completions to be made in the victim's session.

Exploitation requires the victim to visit a malicious page while authenticated to Open WebUI. Unlike other message types that require user confirmation, this vulnerability bypasses any confirmation dialogs, making the attack stealthy and effective.

Compliance Impact

The vulnerability allows an attacker to execute unauthorized actions under a victim's authenticated session without their consent, impacting system integrity.

Such unauthorized actions could lead to data manipulation or exposure, which may conflict with compliance requirements in standards like GDPR or HIPAA that mandate data protection and user consent.

However, the provided information does not explicitly discuss the direct impact on compliance with these regulations.

Impact Analysis

This vulnerability impacts system integrity by allowing an attacker to perform unauthorized actions within the victim's authenticated Open WebUI session without their knowledge or consent.

  • An attacker can inject and execute arbitrary prompts and commands, potentially triggering model or tool executions such as code interpreters, web searches, or terminal commands.
  • Unauthorized API requests can be made under the victim's credentials, which could lead to data manipulation or leakage depending on the victim's privileges.
  • Because the attack bypasses user confirmation, it can be executed silently, increasing the risk of unnoticed compromise.
Mitigation Strategies

The primary mitigation step is to upgrade Open WebUI to version 0.9.6 or later, where this vulnerability has been fixed by enforcing strict same-origin validation on chat message listeners.

Until the upgrade can be applied, consider restricting access to the Open WebUI instance to trusted networks or users only, to reduce the risk of cross-origin attacks.

Additionally, educating users to avoid visiting untrusted or malicious websites while authenticated to Open WebUI can help prevent exploitation.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-54007. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart