OpenViking prior to version 0.3.9 contains an authentication bypass vulnerability in the VikingBot OpenAPI HTTP route surface where the authentication check fails open when the api_key configuration value is unset or empty. Remote attackers with network access to the exposed service can invoke privileged bot-control functionality without providing a valid X-API-Key header, including submitting attacker-controlled prompts, creating or using bot sessions, and accessing downstream tools, integrations, secrets, or data accessible to the bot.
The authentication mechanism in VikingBot OpenAPI fails in 'fail open' mode when the api_key configuration value is unset or empty. In this situation, verification of the X-API-Key header is bypassed, and every network request is treated as authorized. A remote attacker with network access to the service can send requests without providing the correct API key and gain full access to bot control functions.
An attacker can send controlled prompts without authentication, create and use bot sessions, and gain access to tools, integrations, secrets, and data available to the bot, which may lead to sensitive data leakage and takeover of system functionality.
OpenViking should be updated to version 0.3.9 or later, available at https://github.com/volcengine/OpenViking/releases/tag/v0.3.9. Additionally, ensure that the api_key configuration value is set to a non-empty, random, and strong value.
Volcengine OpenViking versions earlier than 0.3.9, in configurations where the api_key value is unset or empty.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XVolcengine Openviking
APPVolcengine< 0.3.9
Related vulnerabilities
OpenViking versions 0.2.1 and prior, fixed in commit 46b3e76, contain a path traversal vulnerability in the .o...
Wersje OpenViking przed 0.3.3 zawierają podatność braku autoryzacji w endpointach do pobierania zadań, która u...
Wersje OpenViking 0.2.5 do 0.2.14 zawierają podatność braku uwierzytelniania w routerze proxy bota, która pozw...