Skip to content
MediumVulnerability

GHSA-54f4-v6v9-9q82: open-webui allows writing and deleting arbitrary files

Published
Record updated
View JSON
Affected
  • open-webui <= 0.3.8
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

Open-webui v0.3.8 contains a flaw in the /api/pipelines/upload endpoint. The file.filename value is concatenated with CACHE_DIR without sanitization, allowing arbitrary file write and delete. An attacker can overwrite and delete system files, potentially leading to remote code execution.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.