Skip to main content

Openviking CVE-2026-40525

| EUVDEUVD-2026-23464 CRITICAL
Not Failing Securely ('Failing Open') (CWE-636)
2026-04-17 VulnCheck GHSA-jgq2-vq69-gr6h
9.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Network reconnaissance (identify OpenViking instance)
  2. Delivery
    Send unauthenticated HTTP request to OpenAPI endpoint
  3. Exploit
    Bypass fails-open authentication check
  4. Execution
    Submit attacker-controlled prompts
  5. Persist
    Access bot sessions and downstream integrations
  6. Impact
    Exfiltrate secrets and sensitive data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Fail-secure design
Exploitation Conditions

Exploitation requires OpenViking VikingBot OpenAPI HTTP routes to be network-accessible (AV:N) AND the api_key configuration parameter to be unset or set to an empty string. This is NOT a default-secure configuration issue - properly configured instances with a non-empty api_key value are not vulnerable. The AT:P (Attack Requirements Present) metric in CVSS v4.0 specifically reflects this configuration dependency. No user interaction (UI:N) or privileges (PR:N) are required once a misconfigured target is identified. Limiting factors include: deployment-specific configuration (only affects instances with empty/unset api_key), network accessibility requirements (attacker must reach the service), and the need for reconnaissance to identify vulnerable targets. Organizations following security best practices of setting authentication credentials during deployment are not affected, making this primarily a risk for development/test environments, rapid prototypes, or deployments by teams unfamiliar with OpenViking security requirements.

Impact

Real-world risk is moderate-high despite the 9.1 CVSS score. The critical factor is the AT:P (Attack Requirements Present) metric - exploitation requires the target system to be deployed with api_key unset or empty, which is NOT the default secure configuration but may occur in development environments or misconfigured production deployments. EPSS score of 0.11% (29th percentile) indicates low observed exploitation in the wild, consistent with this being a configuration-dependent vulnerability rather than a universal remote exploit. No CISA KEV listing confirms no widespread active exploitation. However, the impact scope is severe for affected instances: PR:N (no authentication), VC:H/VI:H (high confidentiality and integrity impact) allows full control over bot operations including access to secrets and downstream integrations. SSVC assessment: exploitation status is proof-of-concept (GitHub patch reveals attack vector), not automatable without reconnaissance to identify misconfigured instances, technical impact is total control of bot functionality. Priority depends heavily on deployment patterns - organizations using OpenViking in production with empty api_key face critical risk; properly configured instances are not vulnerable. The vulnerability is highly exploitable once a misconfigured target is identified, but target identification requires reconnaissance.

Exploit ScenarioDerived

An attacker scans for internet-exposed OpenViking instances using Shodan or passive DNS reconnaissance, identifying deployments by HTTP response patterns or error messages. Upon discovering a target running version ≤0.3.8, the attacker sends HTTP POST requests to VikingBot OpenAPI endpoints (e.g., /api/bot/session, /api/bot/prompt) without providing an X-API-Key header. If the target's api_key configuration is unset or empty, the authentication check fails open and the requests succeed. The attacker can now submit malicious prompts to manipulate bot behavior, create persistent bot sessions, extract secrets or API tokens configured for downstream integrations, and potentially pivot to connected systems accessible via bot-integrated tools. The attacker maintains unauthorized access until the misconfiguration is corrected or the service is patched.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Apr 21, 2026

OpenViking VikingBot OpenAPI routes permit unauthenticated remote attackers to execute privileged bot-control operations when the api_key configuration is unset or empty. Attackers can submit arbitrary prompts, manipulate bot sessions, and access downstream integrations, secrets, and data without providing valid X-API-Key authentication. Affects OpenViking versions ≤0.3.8; patched in commit c7bb167 (v0.3.9 release). No active exploitation confirmed (not in CISA KEV), but EPSS score of 0.11% suggests low observed exploitation probability. VulnCheck advisory and GitHub patch available.

Earlier versions of this analysis (1)
v1 Apr 17, 2026 - 19:01 CVSS 9.1

Authentication bypass in OpenViking's VikingBot OpenAPI allows remote unauthenticated attackers to invoke privileged bot-control functions when the api_key configuration is unset or empty. Attackers can submit arbitrary prompts, create bot sessions, and access downstream tools, integrations, secrets, and data without providing valid X-API-Key headers. CVSS 9.1 (AV:N/AC:L/PR:N/UI:N) indicates critical severity with network-based unauthenticated exploitation. EPSS data not available. Not listed in CISA KEV. Vendor-released patch available via commit c7bb167 (GitHub PR #1447). VulnCheck advisory confirms exploitation requires only network access to exposed OpenAPI endpoints with default/empty api_key configuration.

RemediationAI

Upgrade immediately to OpenViking v0.3.9 or later, which includes commit c7bb167 addressing the authentication bypass (https://github.com/volcengine/OpenViking/releases/tag/v0.3.9). For systems unable to upgrade immediately, implement these compensating controls: (1) Configure a strong api_key value in OpenViking configuration to force authentication check to execute properly - verify the configuration enforces X-API-Key header validation after setting this parameter. (2) Restrict network access to VikingBot OpenAPI HTTP endpoints using firewall rules or network segmentation, permitting only trusted management networks - this reduces attack surface but does not eliminate insider threat or lateral movement risk. (3) Deploy a reverse proxy with authentication enforcement (e.g., nginx with auth_request, API gateway with OAuth) in front of OpenViking endpoints - this adds defense-in-depth but introduces operational complexity and potential performance impact. Note that workarounds (2) and (3) do not fix the underlying fail-open logic and should be considered temporary measures only. Verify patch application by reviewing logs for authentication check behavior and testing that requests without X-API-Key headers are rejected. Audit existing bot configurations for unauthorized access during the vulnerability window.

Affected VersionsENISA

OpenViking 0 ≤0.3.8

Affected Packages

pypi openviking fix: 0.3.9

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenViking is a Volcengine bot framework exposing HTTP OpenAPI routes for bot management and control. The vulnerability stems from CWE-636 (Not Failing Securely), where the authentication middleware fails open when the api_key configuration parameter is unset or empty string. Instead of denying access when authentication credentials are absent, the code permits requests through without validation. This is a classic example of a default-permit rather than default-deny security control. The CVSS v4.0 vector (AV:N/AC:L/AT:P/PR:N) indicates network-accessible exploitation with low complexity but present attack requirements (AT:P suggests configuration-dependent conditions). The affected component is specifically the VikingBot OpenAPI HTTP route handler, which manages bot session lifecycle, prompt submission, and integration access. CPE identifier cpe:2.3:a:volcengine:openviking confirms Volcengine as the vendor.

Know when Openviking gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 9.1 CRITICAL
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

Primary rating from Vendor (VulnCheck) · only source for this CVE.

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Apr 21, 2026 - 14:27 vuln.today
v2 - CVSS changed
Patch released
Apr 17, 2026 - 18:45 nvd
Patch available
CVE Published
Apr 17, 2026 - 18:19 nvd
CRITICAL 9.1

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

OpenViking VikingBot versions 0.3.8 and earlier contain a critical authentication bypass in OpenAPI routes that allows unauthenticated attackers to execute privileged bot-control operations, manipulate sessions, and access downstream integrations and secrets. Organizations running vulnerable versions face immediate risk of unauthorized bot manipulation, data exfiltration, and lateral movement into integrated systems without requiring valid credentials.

Business Impact: High
Compensating Controls

If immediate upgrade is infeasible: (1) Set non-empty api_key configuration values to enforce X-API-Key requirement; (2) Implement network-layer access controls restricting OpenAPI endpoints to trusted IP ranges; (3) Monitor OpenAPI route access logs for requests lacking valid X-API-Key headers; (4) Disable or isolate OpenViking deployments pending patch deployment. Apply vendor patch version 0.3.9 or later as primary remediation.

Threat Intelligence Overview

EPSS Score
0.1%
Top 71% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy