Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with valid client key
-
DeliveryOpen voice/STT WebSocket sessions
-
ExploitKeep connections idle to evade request timeout
-
ExecutionHold account leases and slots unreleased
-
ImpactExhaust proxy concurrency and degrade availability
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a valid grok2api client key (PR:L - authenticated), and exploitation targets the voice/STT WebSocket proxy feature (proxyVoiceWebSocket in voice_ws_handler.go) specifically. The concrete trigger per the code evidence is establishing quiet, idle voice WebSocket sessions: because such connections have no in-flight read/write, the server.requestTimeout cancellation is never surfaced, so closeAll previously ran only on a pump transport error, leaving the session, its account lease, and concurrency slot held. Limiting factors: an attacker must be authenticated with a client key, impact is confined to availability (VA:L - no data exposure or integrity impact), and only the voice/STT WebSocket surface is affected. Fixed in 3.1.7. |
| Impact | This is a genuine but moderate-priority availability issue, not a high-impact emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) and the 5.3 score describe a network-reachable, low-complexity flaw that nonetheless requires authentication (PR:L - a valid grok2api client key) and produces only limited availability impact (VA:L; VC:N/VI:N), consistent with the CWE-400 resource-consumption class. The signals are coherent rather than conflicting: the vuln.today decision label is 'this_month' (not act_now/emergency), there is no CISA KEV listing, no EPSS score is supplied in the input, and no public exploit is identified. Exploitation status is therefore 'no public exploit identified at time of analysis.' The code evidence confirms the mechanism is not memory corruption or RCE but unreleased sessions/account leases on idle WebSocket connections, which caps real-world blast radius to availability degradation of the proxy. Net: patch on a normal cadence; the authentication requirement and availability-only impact make this a lower priority than the raw network-vector label might suggest, and the absence of EPSS/KEV/POC data means spread is unverified rather than confirmed low. |
| Exploit ScenarioDerived | An attacker holding a valid client key opens multiple voice/STT WebSocket connections to the proxy and leaves them established but idle. Because a quiet, established WebSocket has no in-flight read or write to surface the server.requestTimeout cancellation of the request context, the sessions and their associated account leases are never torn down, so repeated connections progressively exhaust concurrency slots and account leases. No public exploit is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
Idle voice/STT WebSocket sessions in chenyme grok2api up to 3.1.6 can be left open after the server's request timeout fires, holding the session, its upstream account lease, and a concurrency slot, which degrades availability for other users of the proxy. Triggering the condition requires a valid grok2api client key (PR:L) and access to the voice/STT WebSocket proxy path handled by proxyVoiceWebSocket in backend/internal/transport/http/inference/voice_ws_handler.go; impact is limited to availability (C:N/I:N/A:L, CVSS 5.3). Version 3.1.7 fixes the issue (commit 7ad0f791f0a9eb5a0ddfe38ac4dfcef01e19a6d4); no public exploit was identified at time of analysis and the vendor/priority signals place this in the this_month remediation bucket rather than an emergency.
RemediationAI
Vendor-released patch: upgrade to grok2api 3.1.7, which contains commit 7ad0f791f0a9eb5a0ddfe38ac4dfcef01e19a6d4 (pull request https://github.com/chenyme/grok2api/pull/1073, release https://github.com/chenyme/grok2api/releases/tag/v3.1.7) and ensures closeAll runs when the request context is cancelled by server.requestTimeout, so idle voice/STT sessions no longer pin sessions, account leases, or concurrency slots. The advisory (https://vuldb.com/vuln/431905) identifies upgrading as the remedy, and upgrading is the only complete fix. Because exploitation requires a valid client key (PR:L) and is confined to the voice/STT WebSocket proxy path, restricting which client keys may reach that endpoint, or suspending that route for untrusted key holders until the upgrade is applied, reduces exposure - at the cost of disabling voice/STT proxying for those clients and without remediating the underlying missing cancellation handling.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
grok2api is a Go service that fronts Grok/xAI inference APIs; the affected code sits in the HTTP transport layer (Gin) where proxyVoiceWebSocket bridges a client's voice/STT WebSocket to an upstream provider connection through an adapter that acquires an account lease and consumes a per-account concurrency slot. CWE-400 (uncontrolled resource consumption) applies because the handler relied on transport errors from its read/write pumps to invoke closeAll; a quiet, established WebSocket has no read or write in flight, so the cancellation triggered by server.requestTimeout on c.Request.Context() was never surfaced, leaving the session, lease, and concurrency slot held until a pump failed. The 3.1.7 fix adds a context watcher in voice_ws_handler.go that calls closeAll when the request context is cancelled, so timeout-driven cleanup no longer depends on pump activity. The same pull request also touches voice WebSocket billing (backend/internal/application/gateway/voice_ws.go) so that a client disconnecting after a confirmed transcript.done duration is still billed, matching the fact that upstream cost is incurred when that duration arrives; the accompanying regression tests exercise this billing path rather than the DoS trigger. Affected surface is narrow: only the voice/STT WebSocket proxy feature; no confidentiality or integrity impact is assessed.
Know when Grok2Api 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Network-reachable (AV:N) and low complexity (AC:L) but needs a valid client key (PR:L); idle sessions hold leases causing limited availability impact only (A:L, C/I:N), no scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
DescriptionCVE.org
A security flaw has been discovered in chenyme grok2api up to 3.1.6. Affected by this vulnerability is the function proxyVoiceWebSocket of the file backend/internal/transport/http/inference/voice_ws_handler.go of the component WebSocket Proxy. The manipulation results in resource consumption. The attack may be launched remotely. Upgrading to version 3.1.7 addresses this issue. The patch is identified as 7ad0f791f0a9eb5a0ddfe38ac4dfcef01e19a6d4. It is suggested to upgrade the affected component.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Billing evasion in chenyme grok2api through 3.1.6 lets an authenticated client key with STT/voice capability avoid charg
Improper authorization in chenyme grok2api's video job retry handler allows a holder of a scope-restricted client key to
EUVD-2026-118382
GHSA-rv3x-8h48-5m2m
NVD
CVE.org
EPSS
VulDB
Exploit-DB