目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-81027— one-api 0.6.10 通道固定缺失授权漏洞

一分钟漏洞结论

影响对象
songquanpeng one-api
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

One-API 对其两条“通道固定”(channel-pinning)路径中的其中一条实施了权限管控,而另一条没有。在 中,请求可以通过 API Key 的后缀或 URL 路径参数来指定特定的通道。其中,后缀方式只有在 校验通过后才会被处理,否则会拒绝调用者;而路径参数分支则直接从 取出通道标识,且完全未进行任何角色或权限检查。携带该参数的路由仅处于 Token 认证层之后,因此任何持有有效 API Token 的账户都能访问它。该通道标识随后被传递给分发器(distributor),分发器通过整数标识加载对应通道

CVSS 8.5 · High

影响版本矩阵 1

厂商产品 版本范围状态
songquanpeng one-api ≤ 0.6.10 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-81027 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
one-api through 0.6.10 Missing Authorization on URL-Parameter Channel Pinning
来源: CVE Program / CVE List V5
Vulnerability Description
one-api gates one of its two channel-pinning paths and not the other. middleware/auth.go permits a request to name a specific channel either through a suffix on the API key or through a URL path parameter. The suffix path is reached only after model.IsAdmin succeeds and otherwise rejects the caller, while the path-parameter branch sets the selected-channel value from c.Param("channelid") with no role check at all. The route carrying that parameter sits behind token authentication only, so any account holding a valid API token reaches it. The value flows to the distributor, which loads the channel by integer identifier with no scoping to the caller's user or group, and then sets the outbound Authorization header to that channel's stored key and directs the request at the channel's base URL. A low-privilege account can therefore pin any channel by incrementing an identifier, causing the server to make upstream requests bearing an operator-configured provider key the account was never granted, and bypassing both the per-group restriction and the channel's model allowlist.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
授权机制缺失
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
songquanpeng one-api 0 ~ 0.6.10 -

二、漏洞 CVE-2026-81027 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级
Qwen3.6-35B-A3B · 4142 chars
Pro+ 专属包含:
漏洞复现靶场录像(真实沙箱构建 + 触发,独家)
漏洞原理深度分析
触发条件与影响面
完整可执行 POC 代码
利用链与缓解建议
POC 打包下载
每月 100+ 条 AI 生成额度

三、漏洞 CVE-2026-81027 的情报信息

登录查看更多情报信息。

CVE-2026-81027 厂商安全公告 (1)

CVE-2026-81027 概念验证 (1)

CVE-2026-81027 安全博客文章 (1)

CVE-2026-81027 厂商页面 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-81027

暂无评论


发表评论