high CVSS 7.7

CVE-2026-54018·Docker vulnerability

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, the SafePlaywrightURLLoader implements a validate_url function to prevent SSRF attacks by checking the IP address of the user-provided URL. However, this validation is performed only on the initial URL. Since Playwright automatically follows HTTP redirects (301/302) by default, an attacker can bypass the validation by providing a safe URL that redirects to a restricted internal network address (e.g., localhost, Docker container network, or Cloud Metadata). This allows the application to access internal services despite ENABLE_RAG_LOCAL_WEB_FETCH being set to False This vulnerability is fixed in 0.9.6.

Severity
high
Software
Docker
Fixed in
0.9.6
Published
2026-06-23

Affected versions

Until: 0.9.6

Fixed in: 0.9.6

How to fix this CVE

Upgrade Docker to version 0.9.6 or later to patch the Server-Side Request Forgery (SSRF) vulnerability in the URL validation logic. The vulnerable SafePlaywrightURLLoader was allowing HTTP redirects to bypass IP address restrictions, potentially exposing internal services. Apply the update immediately across all Docker instances, especially those with RAG (Retrieval-Augmented Generation) web fetching capabilities enabled.

sudo dnf update docker-ce

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

POST /api/rag/web-fetch HTTP/1.1.*?url=http[s]?://[a-zA-Z0-9.-]+.*?(301|302|Location:.*?(localhost|127\.0\.0\.1|169\.254|10\.|172\.(1[6-9]|2[0-9]|3[01])\.|192\.168\.))

WAF mitigation (if patching is not yet possible)

Add this rule to your WAF to block exploitation attempts while you schedule the patch.

Block requests to /api/rag/web-fetch or similar endpoints that include URL parameters containing internal IP ranges (127.0.0.1, 169.254.x.x, 10.x.x.x, 172.16-31.x.x, 192.168.x.x). Implement strict allowlist validation for redirects and reject HTTP 301/302 responses that point to non-whitelisted internal addresses.

How to check if you are affected

  1. Step 1: Check your installed Docker version with: docker --version
  2. Step 2: Verify if Open WebUI is running in your Docker environment: docker ps | grep open-webui
  3. Step 3: Review Docker container logs for suspicious URL requests: docker logs <container_id> | grep -iE '(redirect|http|url|ssrf|localhost|127\.0\.0\.1|169\.254)'
  4. Step 4: Confirm the patched version is installed by checking: docker inspect <container_id> | grep -i version

FAQ

What is CVE-2026-54018?

CVE-2026-54018 is an SSRF vulnerability in Open WebUI's SafePlaywrightURLLoader where URL validation checks can be bypassed using HTTP 301/302 redirects. An attacker can provide a legitimate URL that redirects to internal network addresses, allowing unauthorized access to services that should be restricted.

Is CVE-2026-54018 being actively exploited?

No, CVE-2026-54018 is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog, and no public exploits are available.

What versions of Docker are affected by CVE-2026-54018?

All versions of Open WebUI prior to 0.9.6 are affected by this vulnerability. The issue impacts the SafePlaywrightURLLoader component used for RAG web fetching.

How do I check if my server is vulnerable to CVE-2026-54018?

Run: docker inspect <container_id> | grep -i 'open-webui' and check the version tag. If it's below 0.9.6, your system is vulnerable.

Does Defensia detect CVE-2026-54018?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Docker is installed on a monitored server, CVE-2026-54018 will appear in your dashboard with remediation steps.

Related Docker CVEs

CVE-2026-42298CVSS 10Postiz is an AI social media scheduling tool. Prior to commit da44801, a "Pwn Request" vulnerability in the Build and Publish PR Docker Image workflow (.github/workflows/pr-docker-build.yml) allows any unauthenticated user to execute arbitrary code during the Docker build process and exfiltrate a highly privileged GITHUB_TOKEN (write-all permissions). This can be achieved simply by opening a Pull Request from a fork with a maliciously modified Dockerfile.dev. This issue has been patched via commit da44801.
CVE-2026-57572CVSS 10Crawl4AI is an open-source LLM-friendly web crawler and scraper. Prior to 0.9.0, the Docker API server accepted request-supplied browser_config.extra_args, which flowed into Chromium's launch arguments. An attacker could inject Chromium switches that replace a child-process launch command together with --no-zygote, causing Chromium to fork or exec an attacker-controlled command as the container's runtime user. The Docker API is unauthenticated by default, so a single request yields arbitrary command execution. This issue is fixed in version 0.9.0.
CVE-2026-53576CVSS 10Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, the authentication filter for the REST API (@Filter("/api/v1/**")) treats any request whose path ends in /configs as the public instance-config endpoint and forwards it without a credential check. kestra addresses its resources by URL path segments that the caller chooses (/api/v1/{tenant}/flows/{namespace}, /api/v1/{tenant}/executions/{namespace}/{id}, /api/v1/{tenant}/namespaces/{namespace}/kv/{key}). An anonymous caller picks the literal configs as the final segment, and the request bypasses Basic-Auth entirely. Because the bypass reaches the flow-create and execution-trigger routes, an unauthenticated caller creates a flow containing a Shell or Process task and runs it. The task executes as root inside the kestra container. The official docker-compose.yml mounts /var/run/docker.sock, so root in the container reaches the host Docker daemon. This vulnerability is fixed in 1.0.45 and 1.3.21.
CVE-2026-33587CVSS 10Lack of user input sanitisation in Open Notebook v1.8.3 allows the application user to execute Python code (and subsequently OS commands) on the docker container via Server-Side Template Injection (SSTI) for user-created transformations.
CVE-2026-26216CVSS 10Crawl4AI versions prior to 0.8.0 contain a remote code execution vulnerability in the Docker API deployment. The /crawl endpoint accepts a hooks parameter containing Python code that is executed using exec(). The __import__ builtin was included in the allowed builtins, allowing unauthenticated remote attackers to import arbitrary modules and execute system commands. Successful exploitation allows full server compromise, including arbitrary command execution, file read and write access, sensitive data exfiltration, and lateral movement within internal networks.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-54018. Free for 1 server.

Get started free