Skip to main content

grok2api EUVDEUVD-2026-119862

| CVE-2026-124574 LOW
Improper Authorization (CWE-285)
2026-11-09 VulDB
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with scope-restricted client key
  2. Delivery
    Submit video-generation job on in-scope account
  3. Exploit
    Pinned account fails, triggering retry path
  4. Execution
    Retry re-selects account ignoring key scope
  5. Impact
    Consume out-of-scope premium account quota

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

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 but scope-restricted client key (PR:L) - exploitation is not possible unauthenticated. The attacker's key must be configured with a restricted AccountScope (e.g. ProviderScope/TierScope limits), and the attacker must drive a video-generation job through the retry path in runVideoJob: the originally pinned in-scope account must fail (e.g. a forbidden or transient error) so that beginSelectionSession is invoked for replacement selection, at which point the pre-patch code omits the key's scope and can select an out-of-scope account. Limiting factors: authenticated access via a provisioned client key is mandatory, a scope-restricted key configuration must exist, the pinned account must actually fail to reach the retry branch, and impact is confined to the video job account-selection path and the victim account's quota rather than broader system access.

Impact

This is a genuine but limited-severity authorization flaw, not a high-impact priority. The CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P, base 5.3) indicates network reach with low complexity but requires privileges (PR:L) - i.e. the attacker must already hold a valid, scope-restricted client key. The source diff confirms the real mechanism: the video-job retry path in runVideoJob called beginSelectionSession without re-applying the requesting key's AccountScope, so a key restricted to e.g. free/web-only accounts could, on retry, fail over to and consume an out-of-scope premium/console account's quota. The 'E:P' exploit-maturity flag and the VulDB/GitHub references indicate a public proof-of-concept reference rather than confirmed weaponized code. No CISA KEV listing and no EPSS score are provided, which is consistent with a low-footprint open-source project and a quota/authorization-boundary impact rather than code execution or data theft. The vuln.today 'this_month' decision label aligns with moderate, non-emergency urgency. Impacts across C/I/A are all 'Low', reflecting unauthorized resource/quota use within an authenticated context, not full system compromise.

Exploit ScenarioDerived

An attacker holding a client key deliberately restricted to a narrow account scope (e.g. free-tier/web-only) submits a video-generation request pinned to an in-scope account. When that pinned account hits a transient or forbidden failure, the retry handler re-selects a replacement account without applying the key's scope, letting the restricted key consume a premium or console/build-only account's quota. A public PoC reference exists; it is not verified as working exploit code.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available

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

Alert me

AnalysisAIv1 – Nov 09, 2026

Improper authorization in chenyme grok2api's video job retry handler allows a holder of a scope-restricted client key to reach accounts outside that key's configured AccountScope. In versions up to 3.1.6, when the account originally pinned to a video job fails and the retry path reselects a replacement, the key's ProviderScope/TierScope is not reapplied, so a key limited to free-tier or web-only accounts can consume a premium or console/build-only account's quota. Exploitation requires an authenticated client key that is configured with a restricted scope plus a triggered retry (CVSS v4 PR:L, CVSS 5.3); public exploit material has been disclosed with proof-of-concept maturity per the assessed vector, active exploitation is not confirmed, and version 3.1.7 resolves it.

RemediationAI

Upgrade to grok2api 3.1.7, the vendor-released patch version that resolves the issue; the corresponding fix is PR https://github.com/chenyme/grok2api/pull/1067 and commit 199b3abecc14907176dae1f1cacf125419caa94d, and the vendor explicitly recommends upgrading the affected component. After upgrading, verify that retry-path account selection uses beginSelectionSessionForKey with the client key's AccountScope and that a failed key lookup produces a client_key_unavailable job failure rather than an unscoped fallback. No separate workaround is described in the available sources, and interim compensating measures are not documented; until patched builds are deployed, treat scope-restricted client keys as potentially able to consume out-of-scope account quota on retry and audit video job account selection for cross-scope failovers. Advisory references: https://vuldb.com/vuln/432920, https://vuldb.com/cve/CVE-2026-124574, https://github.com/chenyme/grok2api/releases/tag/v3.1.7.

Affected VersionsENISA

grok2api 3.1.0
grok2api 3.1.6
grok2api 3.1.2
grok2api 3.1.5
grok2api 3.1.4
grok2api 3.1.1
grok2api 3.1.3

Affected Packages

euvd grok2api no fix

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 a pool of upstream Grok/xAI accounts and brokers client requests against per-account quotas, tiers and provider scopes. Client keys carry an AccountScope (ProviderScope such as web-only, and TierScope such as free/basic versus super/premium), and the normal creation path in CreateVideoJob enforces it via selectSchedulableEligibleMediaRouteWithQuotaMode. The flaw maps to CWE-285 (Improper Authorization): the authorization decision is made once, when the job is created, but is not re-evaluated when the retry handler in backend/internal/application/gateway/video.go calls beginSelectionSession without passing the key's scope, causing the replacement search to fall back to the unscoped account pool. The upstream fix adds a client-key lookup in runVideoJob and a new beginSelectionSessionForKey(..., accountScope) entry point, and it fails the job with client_key_unavailable if the key cannot be loaded; the accompanying test asserts that a key restricted to Super-tier web accounts never fails over to an available Free-tier account, and that a worker shutdown during the key lookup leaves the job lease intact for recovery rather than finalizing it.

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

Vendor (VulDB) PRIMARY 2.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 6.3 MEDIUM

Remote low-complexity trigger but needs a valid scope-restricted client key (PR:L); impact limited to crossing the authorization boundary and consuming an out-of-scope account's quota (C/I/A Low).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

2
Severity Changed
Nov 09, 2026 - 07:22 NVD
MEDIUM LOW
CVSS changed
Nov 09, 2026 - 07:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.org

A vulnerability was determined in chenyme grok2api up to 3.1.6. This vulnerability affects the function beginSelectionSession of the file backend/internal/application/gateway/video.go of the component Video Job Retry Handler. This manipulation causes improper authorization. It is possible to initiate the attack remotely. The exploit has been publicly disclosed and may be utilized. Upgrading to version 3.1.7 is able to resolve this issue. Patch name: 199b3abecc14907176dae1f1cacf125419caa94d. It is suggested to upgrade the affected component.

Threat Intelligence Overview

Prevalence
Low
niche self-hosted open-source Grok API proxy, limited deployment
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 LOW
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
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· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
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