🛡️ CVE-2020-7692 — google-oauth-client
Description
Improper Authorization in Google OAuth Client
PKCE support is not implemented in accordance with the RFC for OAuth 2.0 for Native Apps. Without the use of PKCE, the authorization code returned by an authorization server is not enough to guarantee that the client that issued the initial authorization request is the one that will be authorized. An attacker is able to obtain the authorization code using a malicious app on the client-side and use it to gain authorization to the protected resource. This affects the package com.google.oauth-client:google-oauth-client before 1.31.0.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability none.
Weakness class
CVE-2020-7692 is classified as CWE-862: Missing Authorization. No authorisation check is performed before carrying out a restricted action.
Affected software
CVE-2020-7692 is recorded against 1 package.
- com.google.oauth-client:google-oauth-client (fixed in 1.31.0)
Timeline and source
Published on 28 September 2021 and last revised on 8 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Package)
lists.apache.org (Web)
lists.apache.org (Web)
snyk.io (Web)
tools.ietf.org (Web)
tools.ietf.org (Web)
Details
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| com.google.oauth-client:google-oauth-client | — | 1.31.0 |
References
Similar Threats
- Unknown CLSA-2026-1770682155
- Unknown CLSA-2026-1774225188
- High CVE-2021-22573
- High GHSA-xh97-72ww-2w58
More CVE 2020 advisories
Browse all of CVE 2020 in the advisory index.
Site Security Check
Is google-oauth-client part of your stack?
CVE-2020-7692 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.