Reliance on Untrusted Inputs in a Security Decision Affecting python2-oauthlib package, versions <0:2.0.1-8.amzn2.0.2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.37% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-PYTHON2OAUTHLIB-22631350
  • published20 Nov 2026
  • disclosed28 Oct 2026

Introduced: 28 Oct 2026

NewCVE-2026-118669  (opens in a new tab)
CWE-807  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python2-oauthlib to version 0:2.0.1-8.amzn2.0.2 or higher.
This issue was patched in ALAS2-2026-4141.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python2-oauthlib package and not the python2-oauthlib package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. Prior to 4.0.0, the client_credentials and Resource Owner Password Credentials token grant handlers can authenticate request.client as one confidential client while retaining an attacker-supplied request.client_id for validate_grant_type and validate_scopes. A lower-privilege authenticated client can therefore cause grant and scope authorization to use another client's identity when an application validator relies on the documented client_id argument, potentially issuing tokens with unauthorized grants or scopes. Validators that authorize exclusively from request.client may not be affected. This issue is fixed in version 4.0.0.

CVSS Base Scores

version 3.1