Mohamed Sharaf

LiteLLM proxy SQL injection: patch your AI gateway

A critical bug in LiteLLM’s proxy lets attackers read its database without logging in. Exploitation started within days.

· 1 min read

Two months after the poisoned LiteLLM packages, the proxy has a different problem. A critical SQL injection bug in LiteLLM proxy versions 1.81.16 to 1.83.6 lets an attacker with no login read, and possibly change, the proxy’s database. CISA added it to its exploited list last week, and researchers saw exploitation attempts about a day and a half after the advisory.

That database typically holds virtual API keys, team budgets, usage logs and settings for every model provider.

  • Upgrade the proxy to a fixed version now.
  • Don’t expose the proxy’s admin UI and API to the internet. Put it behind a VPN or an access proxy.
  • If it was exposed on a vulnerable version, rotate the master key, the virtual keys and the provider API keys stored in it.
  • Check provider dashboards for usage spikes you can’t explain.

AI infrastructure is ordinary infrastructure: web apps, databases and secrets. It needs the same patching.

ShareWhatsAppLinkedInXTelegramFacebook