Skip to main content
CVE-2026-118669VulnerabilityPublished

dstack · OAuthLib: Token grants can use attacker-supplied client_id for authorization after authenticating a different client

Affects dstackSource GCVE Database

0
Compare
Authoritative record:CVE-2026-118669· High 8.4

Not known to be exploited · CVSS 8.4 High : upgrade to 0.22.1_1 soon.

Data as of 31 Oct 2026, 17:08 UTC

CVSS 4.0 base score
8.4High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.08.4
Patch
Available – fixed in 0.22.1_1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade dstack to 0.22.1_1.

Affected software

ProductAffectedFixed in
Homebrewdstackpkg:brew/dstackOther threatsAffected
  • >=0.9.1 <0.22.1_1
Fixed in
  • 0.22.1_1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in OAuthlib version 0.22.1_1. Users should upgrade to this version or later to remediate the vulnerability. Until upgraded, applications should ensure their RequestValidator implementations do not authorize solely based on the client_id argument passed by OAuthlib, but instead rely on the authenticated client object (request.client) for authorization decisions.

Description

OAuthlib contains a vulnerability in its token grant handlers where an authenticated low-privilege client can supply a different client_id in the token request body. This causes grant and scope validation to be performed under the attacker-supplied client_id rather than the authenticated client's identity. The issue affects the client_credentials and resource owner password credentials grant flows. An attacker with valid credentials for a low-privilege client can obtain tokens with scopes or grant types assigned to a higher-privilege client if the application validator authorizes based on the client_id argument. This is a token authorization bypass requiring authentication.

References

Community reviews

Loading reviews…