Live threats

All CVEs / Google

CVE-2020-7692Google Oauth Client Library For Java

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Jul 9, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-863
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Oauth Client Library For Java.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven com.google.oauth-client:google-oauth-client < 1.31.0 1.31.0 —

Per OSV / GitHub Advisories (GHSA-f263-c949-w85g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
googleoauth_client_library_for_java< 1.31.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.