Skip to main content

Open WebUI CVE-2026-45397

| EUVDEUVD-2026-30629 MEDIUM
Missing Authentication for Critical Function (CWE-306)
2026-05-14 https://github.com/open-webui/open-webui GHSA-65pg-qhhw-mxwg
5.3
CVSS 3.1 · Vendor: https://github.com/open-webui/open-webui
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Scan internet for Open WebUI instances
  2. Delivery
    Send GET request to /api/v1/retrieval/
  3. Exploit
    Receive unguarded configuration JSON
  4. Install
    Extract embedding model and chunk parameters
  5. C2
    Craft RAG poisoning payload sized to chunk boundaries
  6. Execute
    Inject via knowledge base upload
  7. Impact
    Retrieve during next user RAG query

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special conditions required beyond network connectivity to an unpatched Open WebUI instance. The endpoint returns configuration data to any unauthenticated HTTP client without rate limiting, CSRF tokens, user interaction, or non-default configuration. This is fundamentally different from endpoints correctly protected by get_admin_user (e.g., /embedding, /config on the same router), which explicitly require authentication. The vulnerability is not gated by RAG feature enablement - the endpoint exists and responds regardless of whether RAG pipelines are active. Exploitation is limited only by network reachability (not all instances are internet-facing) and instance discovery (attacker must identify the target URL), but once the target is identified, the information disclosure is unconditional and effortless.

Impact

CVSS 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) correctly reflects the network-accessible information disclosure with no authentication or user interaction required. EPSS data not provided in input, but the attack vector (AV:N with PR:N and AC:L) indicates high exploitability via internet-facing HTTP without complexity barriers. No public exploit code (POC) is referenced beyond the trivial curl command in the advisory, and KEV status is not indicated, suggesting this is not yet in CISA's actively exploited catalog. However, the straightforward nature of the vulnerability (single unauthenticated HTTP GET) means exploitation difficulty is minimal once discovered. Real-world risk is elevated beyond the CVSS score for defenders because: (1) reconnaissance is effortless at scale via internet scanning (shodan/censys queries for Open WebUI instances), (2) the disclosed information directly enables follow-on RAG poisoning attacks rather than being purely informational, and (3) patch availability (v0.9.5) has been released, making unpatched instances identifiable targets. The medium severity is justified because confidentiality impact is limited to configuration values without direct code execution or system compromise, but the targeting omission (sibling endpoints correctly guarded) and attack surface mapping implications elevate practical risk beyond typical medium-severity findings.

Exploit ScenarioDerived

An attacker discovers an Open WebUI instance via internet search or shodan query, then sends a single curl request to http://target/api/v1/retrieval/ without authentication headers. The response reveals RAG_EMBEDDING_MODEL (e.g., sentence-transformers/all-MiniLM-L6-v2), RAG_TEMPLATE (the exact retrieval prompt), and CHUNK_SIZE/CHUNK_OVERLAP parameters. Using the disclosed chunk size (e.g., 1000 characters) and overlap (100 characters), the attacker crafts malicious documents that are guaranteed to be split and retrieved at known boundaries, enabling precise RAG prompt injection attacks that bypass typical context isolation assumptions.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 14, 2026

Open WebUI's GET /api/v1/retrieval/ endpoint discloses RAG pipeline configuration including embedding models, chunking parameters, and RAG templates to unauthenticated attackers with a single HTTP request. The vulnerability affects v0.9.2 and earlier, where this endpoint lacks authentication guards present on all adjacent endpoints, enabling reconnaissance for RAG poisoning attacks and infrastructure fingerprinting without requiring credentials, authentication tokens, or user interaction.

RemediationAI

Upgrade Open WebUI to v0.9.5 or later immediately. The patch adds the get_verified_user dependency to the GET /api/v1/retrieval/ endpoint, enforcing authentication matching the protection level of adjacent endpoints. For installations unable to upgrade immediately, implement network-level mitigations: (1) Restrict access to /api/v1/retrieval/ via WAF or reverse proxy to authenticated users only (deny unauthenticated requests with 403 Forbidden); (2) Place the endpoint behind an API gateway requiring Bearer token validation before forwarding to the backend; (3) Disable the retrieval router entirely if RAG functionality is not in use, though this requires backend restart. Authentication at the application layer is strongly preferred over network controls as the root cause is missing code-level access control. The remediation is straightforward because the fix (adding Depends(get_verified_user) to the function signature per the advisory) requires only a single line change.

Affected VersionsENISA

open-webui < 0.9.5

Affected Packages

pypi open-webui fix: 0.9.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Open WebUI is a Python-based web interface using FastAPI routing for retrieval-augmented generation (RAG) pipelines. The vulnerable endpoint is in backend/open_webui/routers/retrieval.py at the root GET handler (/) which exposes application state configuration objects directly via HTTP without dependency injection of authentication checks. The CWE-306 (Missing Authentication for Critical Function) classifies this as a missing access control vulnerability where a critical status endpoint fails to apply the get_verified_user or get_admin_user dependency injectors that protect sibling endpoints (/embedding, /config) on the same router. The endpoint returns 10 configuration parameters from request.app.state.config including RAG_TEMPLATE (the actual retrieval prompt), embedding engine type, model names, and chunking algorithms. This configuration data is sensitive because it maps the internal AI stack architecture and enables attackers to calculate exact document chunk boundaries for targeted RAG injection attacks.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/open-webui/open-webui) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Primary rating from Vendor (https://github.com/open-webui/open-webui) · only source for this CVE.

CVSS VectorVendor: https://github.com/open-webui/open-webui

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

DescriptionCVE.org

Vulnerability Type: Information Disclosure / Missing Authentication Severity: Medium Component: backend/open_webui/routers/retrieval.py - get_status() (GET /) Affected Endpoint: GET /api/v1/retrieval/ Affected Version: Open WebUI main branch - confirmed unpatched through v0.9.2 Authentication Required: None - internet-facing with zero credentials CVSSv3.1 Score: 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)

---

Summary

GET /api/v1/retrieval/ returns live RAG pipeline configuration to any unauthenticated HTTP client. No Authorization header, cookie, or API key is required. Every adjacent endpoint on the same router (/embedding, /config) is correctly guarded by get_admin_user making this a targeted omission.

---

Root Cause

backend/open_webui/routers/retrieval.py:262

python
@router.get('/')
async def get_status(request: Request):
# ← no Depends(get_verified_user)
    return {
        'status': True,
        'CHUNK_SIZE': request.app.state.config.CHUNK_SIZE,
        'CHUNK_OVERLAP': request.app.state.config.CHUNK_OVERLAP,
        'RAG_TEMPLATE': request.app.state.config.RAG_TEMPLATE,
        'RAG_EMBEDDING_ENGINE': request.app.state.config.RAG_EMBEDDING_ENGINE,
        'RAG_EMBEDDING_MODEL': request.app.state.config.RAG_EMBEDDING_MODEL,
        'RAG_RERANKING_MODEL': request.app.state.config.RAG_RERANKING_MODEL,
        'RAG_EMBEDDING_BATCH_SIZE': request.app.state.config.RAG_EMBEDDING_BATCH_SIZE,
        'ENABLE_ASYNC_EMBEDDING': request.app.state.config.ENABLE_ASYNC_EMBEDDING,
        'RAG_EMBEDDING_CONCURRENT_REQUESTS': request.app.state.config.RAG_EMBEDDING_CONCURRENT_REQUESTS,
    }

Compare with every adjacent endpoint on the same router:

python
@router.get('/embedding')
async def get_embedding_config(request: Request, user=Depends(get_admin_user)):
# ✅

@router.get('/config')
async def get_rag_config(request: Request, user=Depends(get_admin_user)):
# ✅

---

Proof Of Concept - No Token Required

bash
curl -s http://TARGET/api/v1/retrieval/
json
{
  "status": true,
  "CHUNK_SIZE": 1000,
  "CHUNK_OVERLAP": 100,
  "RAG_TEMPLATE": "
### Task:\nRespond to the user query using the provided context...\n<context>\n{{CONTEXT}}\n</context>",
  "RAG_EMBEDDING_ENGINE": "",
  "RAG_EMBEDDING_MODEL": "sentence-transformers/all-MiniLM-L6-v2",
  "RAG_RERANKING_MODEL": "",
  "RAG_EMBEDDING_BATCH_SIZE": 1,
  "ENABLE_ASYNC_EMBEDDING": true,
  "RAG_EMBEDDING_CONCURRENT_REQUESTS": 0
}

---

Disclosed Information and Its Value to an Attacker

FieldWhat it reveals
RAG_EMBEDDING_ENGINEBackend type (OpenAI, Ollama, Azure, etc.)
RAG_EMBEDDING_MODELExact model name - reveals embedding model
RAG_RERANKING_MODELReranker in use - reveals reranker
RAG_TEMPLATERAG template - exposes the RAG template
CHUNK_SIZE / CHUNK_OVERLAPChunking parameters - enables exact reconstruction of how documents are split and retrieved

---

Attack Scenario

  1. Attacker sends one unauthenticated HTTP GET to /api/v1/retrieval/.
  2. Response reveals the embedding model and chunking parameters.
  3. Attacker uses the exact chunk size/overlap to craft RAG poisoning payloads that are guaranteed to be retrieved.

---

Impact

  1. RAG template disclosure
  2. Infrastructure fingerprinting - embedding engine and model name reveal the AI stack to an internet scanner
  3. RAG attack surface mapping - chunk parameters enable precise calculation of retrieval boundaries
  4. Zero-effort recon - no brute force, no credentials, no rate-limit concern. Single request from any IP.

---

Recommended Fix

Add get_verified_user dependency (or get_admin_user for stricter control):

python
# BEFORE (vulnerable)
@router.get('/')
async def get_status(request: Request):
# AFTER
@router.get('/')
async def get_status(request: Request, user=Depends(get_verified_user)):

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy