{"id":"CVE-2026-40525","kind":"vulnerability","aliases":["CVE-2026-40525","GHSA-jgq2-vq69-gr6h"],"related":[],"title":"OpenViking: Unauthenticated remote bot control via OpenAPI HTTP routes","description":"OpenViking prior to commit c7bb167 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.","summary":"OpenViking's VikingBot OpenAPI HTTP routes skip the authentication check when the api_key setting is unset or empty. A remote attacker who can reach the service can send prompts, create bot sessions, and use the bot's tools, integrations and secrets without an X-API-Key header.","severity":"critical","cvss":9.1,"epss":0.00593,"exploited":false,"exploited_at":null,"products":[{"name":"openviking","fixed":["0.3.9"],"affected":"< 0.3.9","ecosystem":"pypi"},{"name":"volcengine openviking","fixed":["0.3.9"],"affected":"< 0.3.9","ecosystem":"vendor"}],"ecosystems":["pypi","vendor"],"tags":["ai-agents","ai-tooling","cwe-636","openviking","python","vikingbot"],"not_affected_if":["api-key-set","not-network-exposed"],"how_to_check":"- Check the installed version with `pip show openviking` and compare it to `0.3.9`.\n- Look in the OpenViking configuration for the `api_key` value and confirm it is set to a non-empty value.\n- Confirm whether the VikingBot OpenAPI HTTP port is reachable from networks other than localhost.","fix":"- `openviking` `0.3.9` (fixed version per the product data)","status":"open","published_at":"2026-04-17T19:16:39+00:00","first_seen_at":"2026-11-16T15:32:34+00:00","triaged_at":"2026-11-16T15:33:46+00:00","updated_at":"2026-11-16T15:37:59+00:00","category":"ai-tooling","confidence":0.8,"triage":{"at":"2026-11-16T15:33:46Z","model":"claude-haiku-5-5","output":{"fix":"- `openviking` `0.3.9` (fixed version per the product data)","reach":"network","title":"OpenViking: unauthenticated network access to bot control routes when API key unset","impact":"high","summary":"OpenViking's VikingBot OpenAPI HTTP routes skip the authentication check when the api_key setting is unset or empty. A remote attacker who can reach the service can send prompts, create bot sessions, and use the bot's tools, integrations and secrets without an X-API-Key header.","audience":"developers","category":"ai-tooling","nicknames":[],"who_cares":["openviking","python","ai-agents","vikingbot"],"confidence":0.8,"fix_status":"available","needs_auth":"no","worst_case":"Remote attackers control the bot and reach its tools and secrets.","analyst_note":"","how_to_check":"- Check the installed version with `pip show openviking` and compare it to `0.3.9`.\n- Look in the OpenViking configuration for the `api_key` value and confirm it is set to a non-empty value.\n- Confirm whether the VikingBot OpenAPI HTTP port is reachable from networks other than localhost.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["api-key-set","not-network-exposed"],"who_is_affected":"Teams running OpenViking with VikingBot's OpenAPI HTTP routes exposed on a network. The flaw applies when api_key is unset or empty, so a deployment with a non-empty api_key set is not affected by this bypass. Local-only deployments that are not reachable from the network are lower risk.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"critical"},"cost_usd":0.000763,"input_tokens":4710,"output_tokens":584,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-2026':11A,19A '-40525':12A,20A '-636':31B 'access':121C,154C,161C 'agent':26B 'ai':25B,28B 'ai-ag':24B 'ai-tool':27B 'api':47B,81B,109C,139C 'attack':56B,118C,145C 'attacker-control':144C 'authent':43B,91C,103C 'bot':4A,66B,71B,130C,151C,164C 'bot-control':129C 'bypass':92C 'c7bb167':88C 'check':44B,104C 'commit':87C 'configur':111C 'contain':89C 'control':5A,131C,146C 'creat':65B,148C 'cve':10A,18A 'cwe':30B 'data':160C 'downstream':155C 'empti':53B,116C 'expos':124C 'fail':105C 'function':132C 'ghsa':14A 'ghsa-jgq2-vq69-gr6h':13A 'gr6h':17A 'header':83B,141C 'http':8A,39B,98C 'includ':142C 'integr':74B,157C 'invok':127C 'jgq2':15A 'key':48B,82B,110C,140C 'network':120C 'open':106C 'openapi':7A,38B,97C 'openvik':1A,32B,35B,84C 'openviking':21A,23A 'prior':85C 'privileg':128C 'prompt':64B,147C 'provid':134C 'python':33B 'reach':59B 'remot':3A,55B,117C 'rout':9A,40B,99C 'secret':76B,158C 'send':63B 'servic':61B,125C 'session':67B,152C 'set':49B 'skip':41B 'submit':143C 'surfac':100C 'tool':29B,73B,156C 'unauthent':2A 'unset':51B,114C 'use':69B,150C 'valid':136C 'valu':112C 'via':6A 'vikingbot':34B,37B,96C 'volcengine':22A 'vq69':16A 'vulner':93C 'without':77B,133C 'x':80B,138C 'x-api-key':79B,137C","nicknames":[],"mitigations":[],"who_affected":"Teams running OpenViking with VikingBot's OpenAPI HTTP routes exposed on a network. The flaw applies when api_key is unset or empty, so a deployment with a non-empty api_key set is not affected by this bypass. Local-only deployments that are not reachable from the network are lower risk.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":["openviking","volcengineopenviking"],"ptokens":["openviking","volcengine"],"labels":["aiagents","aitooling","critical","cwe636","openviking","pypi","python","vendor","vikingbot"],"campaign_type":null,"search_a":"'-2026':11A,19A '-40525':12A,20A 'bot':4A 'control':5A 'cve':10A,18A 'ghsa':14A 'ghsa-jgq2-vq69-gr6h':13A 'gr6h':17A 'http':8A 'jgq2':15A 'openapi':7A 'openvik':1A 'openviking':21A,23A 'remot':3A 'rout':9A 'unauthent':2A 'via':6A 'volcengine':22A 'vq69':16A","search_b":"'-636':31B 'agent':26B 'ai':25B,28B 'ai-ag':24B 'ai-tool':27B 'api':47B,81B 'attack':56B 'authent':43B 'bot':66B,71B 'check':44B 'creat':65B 'cwe':30B 'empti':53B 'header':83B 'http':39B 'integr':74B 'key':48B,82B 'openapi':38B 'openvik':32B,35B 'prompt':64B 'python':33B 'reach':59B 'remot':55B 'rout':40B 'secret':76B 'send':63B 'servic':61B 'session':67B 'set':49B 'skip':41B 'tool':29B,73B 'unset':51B 'use':69B 'vikingbot':34B,37B 'without':77B 'x':80B 'x-api-key':79B","search_c":"'access':121C,154C,161C 'api':109C,139C 'attack':118C,145C 'attacker-control':144C 'authent':91C,103C 'bot':130C,151C,164C 'bot-control':129C 'bypass':92C 'c7bb167':88C 'check':104C 'commit':87C 'configur':111C 'contain':89C 'control':131C,146C 'creat':148C 'data':160C 'downstream':155C 'empti':116C 'expos':124C 'fail':105C 'function':132C 'header':141C 'http':98C 'includ':142C 'integr':157C 'invok':127C 'key':110C,140C 'network':120C 'open':106C 'openapi':97C 'openvik':84C 'prior':85C 'privileg':128C 'prompt':147C 'provid':134C 'remot':117C 'rout':99C 'secret':158C 'servic':125C 'session':152C 'submit':143C 'surfac':100C 'tool':156C 'unset':114C 'use':150C 'valid':136C 'valu':112C 'vikingbot':96C 'vulner':93C 'without':133C 'x':138C 'x-api-key':137C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-04-17T19:16:39+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","cvss_by":"GitHub","poc_count":0,"sources":[{"source":"ghsa","external_id":"GHSA-jgq2-vq69-gr6h","url":"https://github.com/advisories/GHSA-jgq2-vq69-gr6h","severity":"critical","published_at":"2026-04-17T21:31:46+00:00","modified_at":"2026-11-16T15:29:59+00:00","first_seen_at":"2026-11-16T15:32:34+00:00","fetched_at":"2026-11-16T15:36:40+00:00","note":null},{"source":"nvd","external_id":"CVE-2026-40525","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40525","severity":null,"published_at":"2026-04-17T19:16:39+00:00","modified_at":"2026-10-26T00:10:00+00:00","first_seen_at":"2026-11-16T15:37:59+00:00","fetched_at":"2026-11-16T15:37:59+00:00","note":null}],"documents":[{"id":170414,"url":"https://github.com/volcengine/OpenViking/pull/1447","title":"Patch: github.com","kind":"other","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":170415,"url":"https://github.com/volcengine/OpenViking/commit/c7bb1676f4d037609f041bf39e4e2bd52e8f9820","title":"Patch: github.com","kind":"other","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":170416,"url":"https://github.com/volcengine/OpenViking/releases/tag/v0.3.9","title":"Release: github.com","kind":"release","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release: github.com"},{"id":170414,"url":"https://github.com/volcengine/OpenViking/pull/1447","title":"Patch: github.com","kind":"other","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"},{"id":170662,"url":"https://www.vulncheck.com/advisories/openviking-authentication-bypass-via-vikingbot-openapi","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[{"type":"epss","score":0.00593,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-40525"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}