# Improper Authorization in Google OAuth Client

Advisory record · `GHSA-f263-c949-w85g`

- **Identifiers:** `GHSA-f263-c949-w85g` · `CVE-2020-7692` · `SNYK-JAVA-COMGOOGLEOAUTHCLIENT-575276`
- **State:** Confirmed
- **Severity:** CVSS 7.4 High
- **Critical:** No
- **Weakness (CWE):** [CWE-862](https://cwe.mitre.org/data/definitions/862.html) · [CWE-863](https://cwe.mitre.org/data/definitions/863.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 28 Sept 2021
- **Updated:** 8 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 28 Sept 2021, 16:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `com.google.oauth-client:google-oauth-client` (Maven): affected `<1.31.0`; fixed in `1.31.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The com.google.oauth-client:google-oauth-client package is vulnerable in versions before 1.31.0. Its PKCE support does not follow the RFC for OAuth 2.0 for Native Apps, so an authorization code is not enough to confirm that the client receiving it is the one that started the request. An attacker with a malicious app on the client side can obtain the code and use it to gain access to protected resources. Upgrade to version 1.31.0 or later.

Written 2 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.4 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`, from CNA (snyk)

- **CISA KEV:** Not listed.
- **EPSS:** 0.015, the 75th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:19 UTC: First seen by agentprime
- 31 Oct 2026, 14:19 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-f263-c949-w85g)

## Sources

- [GitHub Advisory Database: GHSA-f263-c949-w85g](https://github.com/advisories/GHSA-f263-c949-w85g)
- [OSV: GHSA-f263-c949-w85g](https://osv.dev/vulnerability/GHSA-f263-c949-w85g)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7692>
- <https://github.com/googleapis/google-oauth-java-client/issues/469>
- <https://github.com/googleapis/google-oauth-java-client/commit/13433cd7dd06267fc261f0b1d4764f8e3432c824>
- <https://github.com/googleapis/google-oauth-java-client>
- <https://lists.apache.org/thread.html/r3db6ac73e0558d64f0b664f2fa4ef0a865e57c5de20f8321d3b48678@%3Ccommits.druid.apache.org%3E>
- <https://lists.apache.org/thread.html/reae8909b264d1103f321b9ce1623c10c1ddc77dba9790247f2c0c90f@%3Ccommits.druid.apache.org%3E>
- <https://snyk.io/vuln/SNYK-JAVA-COMGOOGLEOAUTHCLIENT-575276>
- <https://tools.ietf.org/html/rfc7636%23section-1>
- <https://tools.ietf.org/html/rfc8252%23section-8.1>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-f263-c949-w85g>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-f263-c949-w85g/>. Everything for agents: <https://agentprime.io/llms.txt>.
