Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
Back to intelligence
ai-platform-securityinternet-facing-service-vulnerabilityidentity-authentication-vulnerabilitywidely-deployed-product-advisory

Critical Vulnerabilities in Open WebUI Enable Remote Code Execution and Token Theft

Updated 2d agoFirst seen Jan 8, 20262 sources

Security researchers have identified a critical vulnerability in Open WebUI, a self-hosted enterprise interface for large language models (LLMs), that allows attacker-controlled model servers to inject malicious code into enterprise environments. The flaw, tracked as CVE-2025-64496, stems from insecure handling of Server-Sent Events (SSE) when connecting to external model endpoints via the "Direct Connections" feature. Exploiting this vulnerability, attackers can execute arbitrary JavaScript in the browser context, steal JSON Web Tokens (JWTs), and, in some cases, escalate privileges to achieve remote code execution (RCE) on backend servers, potentially compromising entire AI workloads and sensitive enterprise data.

The vulnerability affects Open WebUI versions up to and including 0.6.34 and has been addressed in version 0.6.35. Attackers can leverage the flaw by convincing users to connect to a malicious model endpoint, often under the guise of a "free GPT-4 alternative." Once exploited, the attacker gains persistent access to the victim's AI workspace, documents, chats, and embedded API keys. Security experts strongly recommend that organizations using Open WebUI update to the latest version immediately to mitigate the risk of exploitation and prevent unauthorized access to their AI infrastructure.

Share:
Critical Vulnerabilities in Open WebUI Enable Remote Code Execution and Token Theft
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

2 events from the most recent confirmed update back to the earliest known activity.

2 EVENTS
Jan 7, 20266mo ago

Open WebUI fixes CVE-2025-64496 in version 0.6.35

The vulnerability was reported as affecting Open WebUI versions up to 0.6.34 and was fixed in version 0.6.35. Organizations were urged to patch immediately and apply mitigations such as short-lived rotating HttpOnly cookies and strict Content Security Policies.

Jan 6, 20266mo ago

Cato Networks discovers Open WebUI vulnerability CVE-2025-64496

Researchers at Cato Networks identified a critical flaw in Open WebUI's Direct Connections feature that lets attacker-controlled external model servers inject malicious code into enterprise AI backends. The issue can enable session token theft, account takeover, privilege escalation, and in some cases remote code execution on backend servers.

LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

2 LINKEDOpen in app
Organizations
1 linked
Cato Networks
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.