litellm: User passwords exposed in API responses, weak hashing lets attackers take over accounts
What this means
An attacker who can log in to your litellm system can read other users' password hashes from the API, then use those hashes to log in as those users without knowing their real passwords. This gives the attacker full control of any account, including administrator accounts. All user data, API keys, and system settings become compromised.
SecurityElites Manager Brief: the decision in one minute
litellm stores passwords using weak hashing and returns them in API responses. Any logged-in user can steal another user's password hash and log in as them. You must upgrade to 1.83.0 immediately and reset all 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 engineering or DevOps team (owns litellm deployment and user management). |
| Likely effort | About 30 minutes to upgrade and restart the service, plus time to reset all user passwords. If you have many users, password reset distribution could take longer. |
Questions to ask your team or supplier
- Do we have any evidence that user accounts logged in and queried other users' password hashes before we upgraded? If so, which accounts may be compromised?
- Have we reset all user passwords and forced new scrypt-hashed passwords? Can we confirm this was done and when?
- Are there any API keys or integration credentials that may have been exposed through compromised user accounts?
Message you can forward to the owning team
Security notice: litellm: User passwords exposed in API responses, weak hashing lets attackers take over accounts (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-user-passwords-exposed-in-api-responses-weak-hashing/
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 steal these keys and use them, running up costs or poisoning AI responses
- Prompts and chat history: an attacker can read private prompts or conversation history of other users to understand your AI use cases or extract sensitive information
- Tools and systems the AI agent is connected to: an attacker with admin access can redirect the agent to malicious systems or exfiltrate data the agent normally accesses
Who is exposed
- Teams running litellm as a shared service with multiple users (highest risk)
- Teams where litellm administrators have privileged accounts
- Teams where litellm can reach production AI systems or keys
- Teams where any user has logged in to litellm since deployment
- Teams running only single-user instances are at lower risk
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
- Until you can upgrade, restrict who can call /user/info, /user/update, and /spend/users endpoints by adding firewall rules or reverse-proxy authentication rules so that only trusted administrators can reach them.
- Rotate any API keys or secrets that could be accessed by any user account that has logged in before the upgrade.
Signs it may already have been used against you
- Review authentication logs (litellm access logs) for the period before upgrade: look for one user account calling /user/info, /user/update, or /spend/users multiple times with different user IDs, especially administrator-level queries.
- Check litellm API response logs: search for responses that contain the field `password_hash` or `password` in the JSON body before the upgrade date.
- Look at login logs after the weak password period: if a single user logs in as multiple different accounts in a short time, that is a sign of stolen credentials.
- If possible, check application logs or database audit trails to see which users queried other users' information.
Log searches to start from
Single user querying many other users' data (field names must be adapted to your logs)Splunk
sourcetype=litellm (endpoint=/user/info OR endpoint=/user/update OR endpoint=/spend/users) | stats dc(requested_user_id) as unique_users by authenticated_user | where unique_users > 5API responses containing password_hash field (field names must be adapted)Elastic
source: litellm AND response_body: *password_hash* AND timestamp >= [date_deployed] AND timestamp < [date_upgraded]Written 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 litellm installationsList all servers and containers running litellm. Check pip packages on each machine that hosts litellm with `pip show litellm` or check your Python environment. Document the version number and the host.
- Check if you are affectedIf your litellm version is earlier than 1.83.0, you are affected. Run `python -c "import litellm; print(litellm.__version__)"` on each host running litellm.
- Assess what users have accessed litellmReview litellm logs and authentication records to identify all user accounts that have logged in. Any user who logged in before the upgrade could have stolen other users' password hashes.
- Upgrade to 1.83.0On each host, upgrade litellm to version 1.83.0 or later using your package manager. For pip: `pip install --upgrade litellm==1.83.0`. Restart the litellm service after upgrading.
- Verify the upgradeAfter restart, check that the version is now 1.83.0 or later: `python -c "import litellm; print(litellm.__version__)"`. Confirm that litellm starts without errors in the logs.
- Reset all user passwordsForce all users to reset their passwords on next login. This invalidates any stolen password hashes and forces re-hashing with the new stronger algorithm (scrypt). Document this as a mandatory security action.
- Review access logsCheck litellm audit logs for calls to /user/info, /user/update, and /spend/users between your oldest user creation and the upgrade date. Look for one user querying many other users' accounts. If found, those accounts may have been compromised.
- Verify the fix is workingAfter the password reset, log in as a test user and confirm that password hashes are no longer returned in responses from /user/info, /user/update, or /spend/users endpoints. Use curl or a API client to inspect the JSON response body.
How to confirm it is fixed: After upgrade to 1.83.0 and password reset, confirm that password hashes no longer appear in /user/info, /user/update, or /spend/users API responses, and verify that new logins complete successfully.
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 versionfor this issue
python -c "import litellm; print(f'litellm version: {litellm.__version__}')"Verify password hash is not in /user/info responsefor this issue
curl -H "Authorization: Bearer YOUR_TOKEN" http://localhost:8000/user/info | jq '.password_hash'Require 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: User passwords exposed in API responses, weak hashing lets attackers take over accounts (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-user-passwords-exposed-in-api-responses-weak-hashing/
### Why this matters
An attacker who can log in to your litellm system can read other users' password hashes from the API, then use those hashes to log in as those users without knowing their real passwords. This gives the attacker full control of any account, including administrator accounts. All user data, API keys, and system settings become compromised.
### What to do
1. Find litellm installations
2. Check if you are affected
3. Assess what users have accessed litellm
4. Upgrade to 1.83.0
5. Verify the upgrade
6. Reset all user passwords
7. Review access logs
8. Verify the fix is working
Full steps: https://securityelites.com/ai-vulnerabilities/ghsa-69x8-hrgq-fjj8-litellm-user-passwords-exposed-in-api-responses-weak-hashing/
### Done when
- [ ] litellm is at 1.83.0 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] After upgrade to 1.83.0 and password reset, confirm that password hashes no longer appear in /user/info, /user/update, or /spend/users API responses, and verify that new logins complete successfully.
- [ ] 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 files by authenticated users High · GHSA-g5ff-637f-6q2m
- litellm proxy can be forced to run commands by an internal 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 compilation denial of service via many groups High · CVE-2026-129229
Change history
- 8 Apr 2026: Made public
- 1 Dec 2026: Published
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 1 Dec 2026. Read the vendor advisory before changing a production system.