litellm can be used to log in as another user by stealing their password hash
What this means
An authenticated user can steal another user's password hash from the API and use it to log in as that person. This gives an attacker full access to any account in the system, including admin accounts. A person with any login can take over the entire service.
SecurityElites Manager Brief: the decision in one minute
LiteLLM stores passwords weakly and returns password hashes in API responses to any logged-in user. A malicious employee or external attacker with one account can steal another user's hash and use it to log in as them. Upgrade to version 1.83.0 immediately and ask all users to reset their passwords.
| SecurityElites Fix-First Score | 43 of 100 Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity. |
|---|---|
| SecurityElites fix window | Within 30 days High severity. This is our suggestion from common practice; your own policy comes first. |
| Who should own the fix | Platform or infrastructure team that manages litellm deployment. |
| Likely effort | About 30 minutes: upgrade to version 1.83.0 and restart the service. Existing password hashes are automatically upgraded when users log in. If you need to verify no hashes were stolen, reviewing API access logs will take longer. |
Questions to ask your team or supplier
- Do we know if any user accounts have been compromised or if password hashes were stolen before we upgrade? What do our logs show?
- Which users have admin permissions, and do they all still need them? Can we reduce permissions to limit the damage from a compromised account?
- After we upgrade, how will we ensure all users reset their passwords or log in so their hashes are upgraded from SHA-256 to scrypt?
Message you can forward to the owning team
Security notice: litellm can be used to log in as another user by stealing their password hash (GHSA-69x8-hrgq-fjj8)
Severity: High
SecurityElites Fix-First Score: 43 of 100
SecurityElites fix window: Within 30 days
Action: upgrade to litellm 1.83.0 or later.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/ghsa-69x8-hrgq-fjj8-litellm-can-be-used-to-log-in-as-another/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-00973What is at stake in your AI setup
- API keys for external AI providers: an attacker with another user's account can call AI models and generate bills or access proprietary API keys.
- Prompts and chat history: an attacker can read previous conversations and prompts that may contain sensitive instructions or examples.
- Tools and systems connected to litellm: if litellm can call external APIs or tools, an attacker can use the compromised account to access those systems.
Who is exposed
- Any deployment of litellm with more than one user account.
- Systems where litellm manages access to AI models or other resources.
- Teams sharing a single litellm instance across multiple users or projects.
- Deployments where any user has admin or elevated permissions.
Upgrades you need
| Software | Affected versions | Move to |
|---|---|---|
| litellm PyPI | Every version before 1.83.0 | 1.83.0 or later |
Am I affected?
Enter the version you run. Nothing you type is stored.
SecurityElites Developer Brief: the technical picture
| Where the attacker must be | Anywhere that can reach it over a network, including the internet if it is exposed |
|---|---|
| Account needed | An ordinary user account |
| Does a person have to do something | No. It works without anyone clicking or opening anything |
| How hard it is to do | Easy. It works reliably once the attacker can reach it |
| Risk of: data being read | High |
| Risk of: data or settings being changed | High |
| Risk of: the service being taken down | None |
Read from the official severity rating: 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
Kind of coding mistake
- CWE-200: information is exposed to the wrong party
- CWE-327
- CWE-916
If you cannot upgrade today
- Immediately restrict who can call the /user/info, /user/update, and /spend/users endpoints using network or application-level access controls. Allow only service accounts and admin users who need this data.
- Rotate all API keys and passwords now, then again after you upgrade to 1.83.0.
- Monitor login activity closely for any sign of account takeover until you can upgrade.
Signs it may already have been used against you
- API access logs: Search for authenticated users calling /user/info, /user/update, or /spend/users multiple times with different user IDs, especially across a short time period.
- Login logs: Look for login attempts that succeeded with unusual patterns: same user logging in from different IPs in quick succession, or logins immediately after /user/info API calls from a different account.
- Account takeover indicators: Multiple password changes in a short time, permissions changes by a user who does not normally make them, or access to resources that user does not normally use.
- API response logs: If stored, check old /user/info or /user/update responses to see if password hashes were included; they should not have been.
Log searches to start from
Calls to user data endpoints that expose hashes (adapt field names to your logs)Splunk
source=litellm_api (endpoint=/user/info OR endpoint=/user/update OR endpoint=/spend/users) authenticated_user=* | stats count by authenticated_user, requesting_user_id | where requesting_user_id != authenticated_userLogin attempts using SHA-256 hashes or unusual login patterns (adapt field names)Elastic
process.name:litellm AND endpoint:/v2/login AND (response:success OR response:200) | stats count by source.ip, timestamp | where count > 2Written with AI as a starting point. Review them and change the index and field names to match your own logs before you rely on the result.
SecurityElites Fix Guide: step by step
- Find where litellm is installedCheck how litellm is deployed in your environment. It could be a Docker container, a Python virtual environment, or a managed service. Note the current version by running `pip show litellm` or checking your deployment configuration.
- Check the current versionConfirm you are running a version before 1.83.0. If you see version 1.82.0 or lower, you are affected. If you see 1.83.0 or higher, the fix is already applied.
- Review access logs for suspicious activityLook at litellm API access logs from the past month. Search for unusual patterns: multiple calls to /user/info or /user/update from a single user account viewing different users' data, or login attempts from unusual IP addresses or times. Document any suspicious activity for your security team.
- Back up the current installationCreate a backup of your litellm configuration, database, and any user or key data before upgrading. This protects you if the upgrade needs to be rolled back.
- Upgrade to version 1.83.0Update litellm to version 1.83.0 or later using your package manager. For a pip installation, run the standard upgrade command for your deployment method. Restart the litellm service after the upgrade completes.
- Verify the upgrade workedConfirm that litellm is now running version 1.83.0 or higher by checking the version command again. Log in as a test user and confirm the service works normally.
- Reset passwords for all usersAsk all users to reset their passwords. Users who log in after the upgrade will have their old SHA-256 hashes automatically converted to the new scrypt hashes. Users who do not log in soon should be prompted to reset passwords manually to ensure they have the new secure hash format.
- Review and strengthen access controlsCheck if all users have the minimum permissions they need. Remove admin or elevated permissions from accounts that do not require them. This reduces the damage if another account is compromised in the future.
How to confirm it is fixed: Confirm litellm is running version 1.83.0 or later and that API responses from /user/info, /user/update, and /spend/users no longer include the password field.
SecurityElites Quick Fixes: copy and paste
Upgrade litellm with pipupgrade
pip install --upgrade "litellm>=1.83.0"
pip show litellm | grep VersionPin it in requirements.txtupgrade
litellm>=1.83.0Check litellm version (Python)for this issue
pip show litellm | grep VersionCheck litellm version (Docker)for this issue
docker exec <container_name> pip show litellm | grep VersionRequire sign-in with nginx in front of the servicegeneral hardening
location / {
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_pass http://127.0.0.1:8080;
}Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.
Let your AI coding assistant do the upgrade
Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.
Instruction for your coding assistant
You are helping me fix a security vulnerability (GHSA-69x8-hrgq-fjj8) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n - litellm (PyPI): must be 1.83.0 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.SecurityElites Incident Drill: could your team handle this?
Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.
Ticket for your backlog
Paste into Jira, GitHub Issues or any tracker that reads Markdown.
Ready-made ticket
## litellm can be used to log in as another user by stealing their password hash (GHSA-69x8-hrgq-fjj8)
**Severity:** High | **SE Fix-First Score:** 43/100 | **Fix window:** Within 30 days
**Record:** SE-AIV-00973 https://securityelites.com/ai-vulnerabilities/ghsa-69x8-hrgq-fjj8-litellm-can-be-used-to-log-in-as-another/
### Why this matters
An authenticated user can steal another user's password hash from the API and use it to log in as that person. This gives an attacker full access to any account in the system, including admin accounts. A person with any login can take over the entire service.
### What to do
1. Find where litellm is installed
2. Check the current version
3. Review access logs for suspicious activity
4. Back up the current installation
5. Upgrade to version 1.83.0
6. Verify the upgrade worked
7. Reset passwords for all users
8. Review and strengthen access controls
Full steps: https://securityelites.com/ai-vulnerabilities/ghsa-69x8-hrgq-fjj8-litellm-can-be-used-to-log-in-as-another/
### Done when
- [ ] litellm is at 1.83.0 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Confirm litellm is running version 1.83.0 or later and that API responses from /user/info, /user/update, and /spend/users no longer include the password field.
- [ ] Logs were checked for signs of earlier use
SecurityElites Fix Tracker
Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.
Related vulnerabilities
In the same software
- LiteLLM proxy can be made to read local files by authenticated users High · GHSA-g5ff-637f-6q2m
- litellm proxy can be forced to run code as an admin user High · CVE-2026-114612
- litellm versions 1.82.7 and 1.82.8 contain malware that steals credentials Critical · GHSA-5mg7-485q-xm76
The same kind of mistake in other AI tools
- Langflow OSS allows authenticated users to access or change other users' flows High · CVE-2026-127067
- BaaRai ARTEX admin account can be claimed without authentication on first setup Critical · CVE-2026-140422
- BaaRai ARTEX admin login can be guessed without limits or lockouts Critical · CVE-2026-140365
- NLTK dependency parser crashes on long sentences High · CVE-2026-129222
- NLTK regex patterns can be made to freeze the server High · CVE-2026-129229
Change history
- 8 Apr 2026: Made public
- 1 Dec 2026: Published
- 3 Dec 2026: Guide updated
Official record
### ImpactThree 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 stolenAn 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.### PatchesFixed 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.
Weakness type: CWE-200, CWE-327, CWE-916
Use this record in your own tools
Get this record as JSON
curl https://securityelites.com/wp-json/se-aivd/v1/vulns/GHSA-69x8-hrgq-fjj8For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker
The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 4 Dec 2026. Read the vendor advisory before changing a production system.