You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a key via "Virtual Keys" -> "+ Create New Key"
Click on the edit button to bring up the modal, and then click on "Edit Key" to save
Refresh the page
Observe that the key is not shown in the "Virtual Keys" table anymore
The user can still make requests with this key, and the spend won't be linked to that user anymore
After carelessly inspecting the code, the problem might be that when /key/update is called without the user_id field, it will be reset to null in prepare_key_update_data.
This might be a vulnerability but I will just post it here since it is too trivial for anyone to find.
Relevant log output
N/A
Are you a ML Ops Team?
Yes
What LiteLLM version are you on ?
v1.60.2
Twitter / LinkedIn details
No response
The text was updated successfully, but these errors were encountered:
What happened?
Step to reproduce:
After carelessly inspecting the code, the problem might be that when /key/update is called without the
user_id
field, it will be reset to null in prepare_key_update_data.This might be a vulnerability but I will just post it here since it is too trivial for anyone to find.
Relevant log output
Are you a ML Ops Team?
Yes
What LiteLLM version are you on ?
v1.60.2
Twitter / LinkedIn details
No response
The text was updated successfully, but these errors were encountered: