mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 07:43:10 -05:00
Tag-creation passes potentially sensitive information (conversation tags) to log #2973
Reference in New Issue
Block a user
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 @c-hoffmann on GitHub (Dec 10, 2024).
Installation Method
pip
Environment
Confirmation:
Expected Behavior:
I expect sensitive information to not be passed to the log files if logging-level exceeds DEBUG. This includes not logging tags for prompts. While tags can be broad and generic, they can also become sensitive for chats e.g. about health, psychology and so on.
Actual Behavior:
Sensitive information is logged for tag-creation of conversations, even for levels higher than DEBUG (e.g. INFO)
Description
Bug Summary:
On a similar note as #7720, potentially sensitive information is logged for tag-creation of conversations even though that should not be the case. This can reveal users to be chatting about sensitive topics, such as health, mental issues etc.
Reproduction Details
Steps to Reproduce:
Make sure to save the output-log of the running open-webui instance. Start a new conversation (send first prompt) and wait until response was generated.
Logs and Screenshots
Console Logs:
The problematic lines are:
[] technology['technology'] software_development['software_development', 'technology'] environment_configurationSecond example
Additional Information
I see this result both if no environment-variables for logging have been explicitly set via .env OR if every LOG_LEVEL was set to "INFO" explicitly.
@tjbck commented on GitHub (Dec 10, 2024):
Removed in dev!
@The-LittleTeapot commented on GitHub (Nov 4, 2025):
You log the entire conversation in the debug logs. the "messages" are available for all. And are also annoying to parse.
@Classic298 commented on GitHub (Nov 4, 2025):
@The-LittleTeapot that's the entire point if set to debug.
Debug should not be used in production - debug is meant for debugging so it should log the entire message content.