MEDIUM4.2
GO-2025-3921
Coder accepts an APIKey beyond the linked OIDC expiry if there is no refresh token in github.com/coder/coder
Quick fix
GO-2025-3921 — github.com/coder/coder/v2: upgrade to the fixed version with the command below.
go get github.com/coder/coder/v2@v2.23.0Details
Coder accepts an APIKey beyond the linked OIDC expiry if there is no refresh token in github.com/coder/coder
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/coder/coder
Introduced in:
0No fixed version published yet for github.com/coder/coder (go modules). Pin to a known-safe version or switch to an alternative.
Go/github.com/coder/coder/v2
Introduced in:
0Fixed in: 2.23.0Fix
go get github.com/coder/coder/v2@v2.23.0References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/coder/coder"]}'