Skip to content
HighVulnerability

GHSA-69x8-hrgq-fjj8: LiteLLM: Password hash exposure and pass-the-hash authentication bypass

Published
Record updated
View JSON
Affected
  • litellm < 1.83.0
Fixed in
1.83.0
  • released March 31, 2026, 8 days before disclosure

Summary

LiteLLM stores user passwords as unsalted SHA-256 hashes and returns the password hash field from /user/info, /user/update and /spend/users to any authenticated user regardless of role. The /v2/login endpoint accepts the raw SHA-256 hash as a valid password, so an authenticated user can retrieve another user's hash and log in as that user, escalating privileges in three HTTP requests.

Mitigation

Fixed in v1.83.0. Passwords are now hashed with scrypt (random 16-byte salt, n=16384, r=8, p=1), password hashes are stripped from all API responses, and existing SHA-256 hashes are transparently migrated on next login.