CVE-2026-81027
Last modified
CVE-2026-81027 is a high-severity vulnerability rated 8.5/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| songquanpeng | one-api | <= 0.6.10 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-81027?
How severe is CVE-2026-81027?
How do I fix CVE-2026-81027?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-81018In the Linux kernel, the following vulnerability has been re…
- CVE-2026-81019wolfProvider before 1.2.2 generates the 8-byte explicit AES-…7.4
- CVE-2026-81020wolfEngine before 1.4.1 generates the 8-byte explicit AES-GC…7.4
- CVE-2026-81021The SupportCandy WordPress plugin before 3.5.3 does not per…5.3
- CVE-2026-81022The SupportCandy WordPress plugin before 3.5.3 does not val…5.3
- CVE-2026-81026The MasterStudy LMS WordPress Plugin WordPress plugin befor…4.8
- CVE-2026-81028ZLMediaKit confines the downloadFile API to a configured set…4.9
- CVE-2026-81029OpenMetadata accepts a caller-supplied post-authentication r…8.1
- CVE-2026-81030Mage AI does not confine the paths accepted by its browser-i…6.5
- CVE-2026-81031IDURAR ERP CRM changes the password of whichever account a r…7.2
- CVE-2026-81032NebulaGraph exposes its runtime configuration over an unauth…9.8
- CVE-2026-81033Automatisch reveals whether an address is registered through…5.3
Are you affected by CVE-2026-81027?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
