CVE-2026-56400: open-webui - Remote Code Execution via CORS Misconfiguration and Session Validation

Published Jul 15, 2026
·
Updated

open-webui before 0.3.14 contains a cross-origin resource sharing misconfiguration allowing arbitrary origins with alloworigins= and authenticated requests to the /api/v1/functions endpoint. Attackers can execute arbitrary code on the openwebui instance by crafting malicious cross-site requests from attacker-controlled websites when an admin user visits them.

Affected Software

2 affected components
open-webui<0.3.14
openwebui Open WebUI<0.3.14

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade open-webui to a version that resolves this vulnerability.

    Fixed in 0.3.14
  2. Configuration

    Fix the CORS misconfiguration by removing the wildcard origin setting (allow_origins=*) and only allowing the specific trusted origins.

    open-webui CORS configuration allow_origins = NOT "*"
  3. Configuration

    Ensure authenticated requests from attacker-controlled cross-site contexts cannot be made to /api/v1/functions via permissive CORS; restrict CORS to trusted origins for this endpoint.

    open-webui CORS configuration Authenticated CORS access to /api/v1/functions = Disallow authenticated cross-origin requests to this endpoint

Event History

Jul 15, 2026
CVE Published
via MITRE·11:25 AM
Data Sourced
via MITRE·11:25 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:18 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-56400?

CVE-2026-56400 has a critical severity rating of 9.

2

How do I fix CVE-2026-56400?

To fix CVE-2026-56400, upgrade open-webui to version 0.3.14 or later to correct the CORS misconfiguration.

3

What type of vulnerability is CVE-2026-56400?

CVE-2026-56400 is a remote code execution vulnerability caused by improper CORS configurations.

4

What software is affected by CVE-2026-56400?

The vulnerability affects open-webui versions prior to 0.3.14.

5

Can CVE-2026-56400 lead to data loss?

Yes, CVE-2026-56400 allows attackers to execute arbitrary code, which could result in data loss or breach.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203