Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-81027— one-api through 0.6.10 Missing Authorization on URL-Parameter Channel Pinning

Quick assessment

Affected
songquanpeng one-api
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

songquanpeng one-api是songquanpeng个人开发者的一个云端API管理平台。 songquanpeng one-api 0.6.10及之前版本存在授权问题漏洞,该漏洞源于middleware/auth.go中路径参数分支缺少角色检查,可能导致低权限账户通过指定任意通道绕过权限限制,使用未授权的供应商密钥发起上游请求。

CVSS 8.5 · High EPSS 0.34% · P27

Affected Version Matrix 1

VendorProduct Version RangeStatus
songquanpeng one-api ≤ 0.6.10 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-81027

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
one-api through 0.6.10 Missing Authorization on URL-Parameter Channel Pinning
Source: 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.
Source: 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
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制缺失
Source: CVE Program / CVE List V5
Vulnerability Title
songquanpeng one-api 授权问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
songquanpeng one-api是songquanpeng个人开发者的一个云端API管理平台。 songquanpeng one-api 0.6.10及之前版本存在授权问题漏洞,该漏洞源于middleware/auth.go中路径参数分支缺少角色检查,可能导致低权限账户通过指定任意通道绕过权限限制,使用未授权的供应商密钥发起上游请求。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
songquanpeng one-api 0 ~ 0.6.10 -

II. Public POCs for CVE-2026-81027

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 6040 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-81027

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-81027 (1)

Proof of Concept for CVE-2026-81027 (1)

Security Blog Posts for CVE-2026-81027 (1)

Vendor Pages for CVE-2026-81027 (1)

IV. Related Vulnerabilities