---
id: CVE-2026-40525
title: "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"
summary: "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 attack…"
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-636
vendor: volcengine
product: openviking
affected:
  - openviking < 0.3.9
patched:
  - openviking 0.3.9
published: '2026-04-17'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T16:17:15.280'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-40525'
references:
  - url: >-
      https://github.com/volcengine/OpenViking/commit/c7bb1676f4d037609f041bf39e4e2bd52e8f9820
    label: disclosure@vulncheck.com
  - url: 'https://github.com/volcengine/OpenViking/pull/1447'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/volcengine/OpenViking/releases/tag/v0.3.9'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/openviking-authentication-bypass-via-vikingbot-openapi
    label: disclosure@vulncheck.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-40525'
  - url: 'https://github.com/volcengine/OpenViking'
tags:
  - nvd
  - cve.org
  - osv
  - pip
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-04-20T13:37:40.440711Z'
epss: 0.00571
epssPercentile: 0.47055
aliases:
  - GHSA-jgq2-vq69-gr6h
  - PYSEC-2026-438
ecosystem: pip
ingestedAt: '2026-09-12T03:13:01.705Z'
---

## Overview

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.

## Affected

- `openviking < 0.3.9`

## Remediation

Upgrade past the affected range:

- `openviking 0.3.9`

## Package advisory (CVE-2026-40525)

Affected packages:

- `openviking < 0.3.9`

Patched in:

- `openviking 0.3.9`

Source: https://osv.dev/vulnerability/GHSA-jgq2-vq69-gr6h
