VDB
Sign up
MEDIUM6.5

PYSEC-2026-1721

open-webui allows writing and deleting arbitrary files

Details

In version v0.3.8 of open-webui/open-webui, the endpoint /api/pipelines/upload is vulnerable to arbitrary file write and delete due to unsanitized file.filename concatenation with CACHE_DIR. This vulnerability allows attackers to overwrite and delete system files, potentially leading to remote code execution.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/open-webui
Introduced in: 0

No fixed version published yet for open-webui (pip). Pin to a known-safe version or switch to an alternative.

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/open-webui"]}'