CVE-2026-40525: OpenViking Unauthenticated Remote Bot Control Vulnerability

openviking Updated 05 May 2026

Summary

17/04/2026
Yes i
Critical
9.1

CVE-2026-40525: OpenViking: Unauthenticated remote bot control via OpenAPI HTTP routes. Affects openviking versions < 0.3.9. Fixed in 0.3.9. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

OpenViking is an open-source project that provides a framework for controlling bots through an API. It allows users to create and manage bot sessions, integrate with various tools, and automate tasks. However, prior to commit c7bb167, OpenViking had a critical vulnerability that allowed unauthenticated access to its bot control functionalities, exposing sensitive operations to potential attackers.

Vulnerability Detail

The vulnerability in OpenViking arises from an authentication bypass in the VikingBot OpenAPI HTTP routes. Specifically, when the api_key configuration value is unset or empty, the authentication check fails, allowing remote attackers with network access to invoke privileged bot-control functionalities without a valid X-API-Key header. This includes the ability to submit attacker-controlled prompts, create or use bot sessions, and access sensitive integrations and data, leading to severe security risks.

How To Fix

Latest published version: 0.5.1.1 as of 23 Oct 2026

pip install --upgrade "openviking==0.5.1.1"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.3.9

This is the first release that contains the fix.

pip install --upgrade "openviking==0.3.9"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, ensure that the api_key configuration is set to a valid value to prevent unauthorized access. You can do this by adding the following line to your configuration file: api_key = 'your_secure_api_key'.

Conclusion

The CVE-2026-40525 vulnerability in OpenViking presents a significant security risk due to its authentication bypass, allowing unauthorized access to bot control functionalities. It is crucial to update to the patched version and configure the api_key to mitigate these risks.

See every vulnerability recorded for openviking →

Share this vulnerability

FAQ

CVE-2026-40525 is a critical vulnerability in OpenViking that allows unauthenticated remote control of bots due to an authentication bypass.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

The risks include unauthorized access to bot functionalities, submission of malicious prompts, and exposure of sensitive data and integrations.

The CVSS score of this vulnerability is 9.1, indicating a critical level of severity.

Ensure that you update to version 0.3.9 or later and configure the api_key properly to secure your OpenViking installation.

Related vulnerabilities

Recent vulnerabilities recorded for openviking.

How To Fix

Latest published version: 0.5.1.1 as of 23 Oct 2026

pip install --upgrade "openviking==0.5.1.1"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.3.9

This is the first release that contains the fix.

pip install --upgrade "openviking==0.3.9"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback