Time-of-check Time-of-use (TOCTOU) Race Condition in Open WebUI - CVE-2026-54020
Published: August 3, 2026
Vulnerability details
The vulnerability allows a remote user to disclose sensitive information from internal services.
The vulnerability exists due to a time-of-check time-of-use race condition in server-side URL fetch handlers when processing user-supplied URLs. A remote user can control authoritative DNS responses for a submitted hostname to make the server connect to an internal address and disclose sensitive information from internal services.
Most affected fetch paths return the internal response to the user, while the image-edit path is blind. On the OAuth profile-picture fetch path, the server also forwards the OAuth access token as a Bearer header to the fetched URL.