← Terug naar overzicht

CVE-2026-81027 affects one-api, an open-source API management gateway. The vulnerability exists in middleware/auth.go where two channel-pinning paths are inconsistently protected: the API key suffix path requires admin role verification, but the URL path parameter branch (c.Param('channelid')) performs no role check whatsoever. Any user with a valid API token can exploit this by supplying an integer channel identifier via the URL parameter, bypassing per-group restrictions and channel model allowlists. The distributor loads the channel without scoping to the caller's user or group, then forwards requests using that channel's stored provider API key. This allows low-privilege accounts to enumerate channels by incrementing identifiers and abuse operator-configured provider keys they were never granted access to. The issue affects one-api through version 0.6.10 and represents a classic broken access control / missing authorization flaw.

Affected products

  • one-api (through v0.6.10)

Related CVE's

  • CVE-2026-81027

Categories

  • Enterprise Applications
  • Identity & Access
  • Web Technologies