Skip to content

golang.org/x/oauth2 (Go)

Advisories
3
Latest version
v0.37.0
Released Aug 25, 2026
License
BSD-3-Clause
OpenSSF Scorecard
—

How to fix

Upgrading to 0.27.0 or later clears every advisory below that has a fix.

Upgrade commands
go
go get golang.org/x/oauth2@v0.37.0 && go mod tidy

Known vulnerabilities

AdvisorySeverityAffectedFixed in
GHSA-6v2p-p543-phr9
golang.org/x/oauth2 Improper Validation of Syntactic Correctness of Input vulnerability
High
EPSS 0.87%
< 0.27.0
0.27.0
GHSA-6v2p-p543-phr9
golang.org/x/oauth2 Improper Validation of Syntactic Correctness of Input vulnerability
High
EPSS 0.87%
< 0.27.0
0.27.0
GHSA-6v2p-p543-phr9
golang.org/x/oauth2 Improper Validation of Syntactic Correctness of Input vulnerability
High
EPSS 0.87%
< 0.27.0
0.27.0

Source: https://go.googlesource.com/oauth2

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor