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

- Severity: High (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-04-08T00:04:12.000Z
- Modified: 2026-09-10T03:50:43.345Z
- Weaknesses: CWE-200, CWE-327, CWE-916

## Description

### Impact

Three issues combine into a full authentication bypass chain:

1. Weak hashing: User passwords are stored as unsalted SHA-256 hashes, making them vulnerable to rainbow table attacks and trivially identifying users with identical passwords.
2. Hash exposure: Multiple API endpoints (/user/info, /user/update, /spend/users) return the password hash field in responses to any authenticated user regardless of role. Plaintext passwords could also potentially be exposed in certain scenarios.
4. Pass-the-hash: The /v2/login endpoint accepts the raw SHA-256 hash as a valid password without re-hashing, allowing direct login with a stolen

An already authenticated user can retrieve another user's password hash from the API and use it to log in as that user. This enables full privilege escalation in three HTTP requests.

### Patches

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. Existing SHA-256 hashes are transparently migrated on next login.

(As written by GitHub Advisory Database.)

## Affected

- litellm (PyPI): before 1.83.0

## References

- <https://github.com/BerriAI/litellm/security/advisories/GHSA-69x8-hrgq-fjj8> (web)
- <https://github.com/BerriAI/litellm> (package)

## Sources

- GitHub Advisory Database: [GHSA-69x8-hrgq-fjj8](https://github.com/advisories/GHSA-69x8-hrgq-fjj8), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/GHSA-69x8-hrgq-fjj8 · Whole record: https://cve.day/GHSA-69x8-hrgq-fjj8.json · Rebuilt by cve.day 2026-11-25T22:56:34.250Z
