---
agent:
  instructions: "Search published articles with space-separated keywords. All terms must occur in the article text. Results are Markdown excerpts with canonical links, newest first."
  endpoint: "https://www.zaihua.news/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://www.zaihua.news/docs/api/#agent-search"
---

# LiteLLM 存在 SQL 注入漏洞，无需凭证即可读取 API 密钥

Source: https://www.zaihua.news/article/41115/

[返回新闻流](https://www.zaihua.news/)
2026年4月28日 · 22:44 · [在花新闻](https://www.zaihua.news/about/)

# LiteLLM 存在 SQL 注入漏洞，无需凭证即可读取 API 密钥

LiteLLM 是一个大模型统一接口库，其 Proxy 组件被发现存在 SQL 注入漏洞（CVE-2026-42208）。攻击者无需任何有效凭证，通过构造 Bearer token 即可在认证失败的错误日志中注入 payload，从而未授权读取数据库内保存的各厂商大模型 API 密钥。公网暴露的实例风险极高。官方已在 v1.83.7-stable 中修复，同时建议用户升级后修改所有已存密钥，或设置 disable_error_logs: true 关闭错误日志。微步情报局于 2026 年 4 月 28 日收录该漏洞，并已向订阅用户推送情报，旗下 TDP 产品支持检测。

[微步在线研究响应中心](https://mp.weixin.qq.com/s/ytNWdqGECo0fmWwPQGqy8A)

🌸 [在花频道](http://t.me/ZaiHuaPd) · [茶馆讨论](https://t.me/zaihuaSpace) · [投稿通道](http://t.me/ZaiHuabot)

[上一条 Qwen 开源高性能线性注意力内核库 FlashQLA，速度提升 2–3 倍](https://www.zaihua.news/article/41114/)[下一条荟萃分析显示手指长度比值与性倾向存在显著关联](https://www.zaihua.news/article/41116/)
