mirror of
https://github.com/open-webui/desktop.git
synced 2026-11-05 01:27:46 +00:00
[GH-ISSUE #274] Security Concern: Silent Auto-Detection of OpenAI API Key During Desktop Installation #176
Labels
No labels
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/desktop#176
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lepptin on GitHub (Sep 21, 2026).
Original GitHub issue: https://github.com/open-webui/desktop/issues/274
Summary
During the installation and first run of Open WebUI Desktop v0.0.20 on
Windows 11, the application silently detected and imported an existingOpenAI API key from my system without any user notification, explicit consent,
or warning. The API key was automatically populated in
Settings → Connections → OpenAI API, with the main toggle enabled by
default.
This behavior raises serious privacy and security concerns, as credentials
appear to be read from system-level storage locations (e.g., Windows
Credential Manager, environment variables) without user awareness.
Environment Details
open-webui-x64-setup.exeSteps to Reproduce
open-webui-x64-setup.exe) on a Windowsmachine that already has an OpenAI API key stored somewhere in the
system (e.g., Windows Credential Manager, environment variables, or any
other persistent storage location).
such as GPT-4o, o1, o1-mini, astra etc.) are listed and selectable — despite
no manual API key configuration.
https://api.openai.com/v1(e.g.,
sk-proj-Ab...XYZ)Discovery Process
models through its own infrastructure, similar to what some other AI
frontends offer.
any manual configuration, I became suspicious.
already populated in the configuration field.
Open WebUI does not issue or provide its own API keys.
https://platform.openai.comand located API keys I had created approximately one year ago.
my OpenAI Platform account — they matched exactly.
WebUI at any point.
Security & Privacy Implications
notification, prompt, or explicit user action.
warning informing the user about this credential-detection behavior.
valid, billable credential attached — any model selection could have
resulted in API calls and billing.
environment variables) to extract credentials without disclosure.
permission scope, where applications should request the least amount of
access necessary and inform users about credential usage.
confidence in the application's handling of sensitive data.
Mitigation Steps Taken
I have taken the following actions to secure my environment:
did not actively use the application with the auto-configured key.
unauthorized billing.
locations for the key (now cleaned up).
Suggested Improvements
I respectfully propose the following changes to improve security and user
trust:
from system storage, the application should request explicit permission
with a clear explanation of what will be accessed, from where, and why.
should be informed immediately with full details — including the source
location if known.
should remain off until the user manually enables it.
credentials should never be silently pre-filled.
installation guide, release notes, FAQ, and privacy policy.
were accessed and which actions were taken automatically.
from system credential managers (Windows Credential Manager, macOS
Keychain, Linux Secret Service) without explicit, granted permission.
"ease-of-use" feature, it must be disclosed in the privacy policy and
be opt-in, not opt-out.
Additional Notes
my Windows system. It may have been via Windows Credential Manager,
environment variables, a third-party CLI tool, or another mechanism. I am
investigating further.
artifact, an environment variable scan, or an integration with a system
credential API — but this is speculation and should be investigated by
the development team.
background network calls or telemetry that may have included the key.
and transparency of Open WebUI for the entire community.
Request to the Open WebUI Team
detected and imported into the desktop application.
documentation, and release notes.
without their knowledge.
confirmed as unintentional.
Thank you for your work on Open WebUI. I hope this report contributes to
making the platform safer and more trustworthy for all users.