Use of a Key Past its Expiration Date Affecting github.com/coder/coder/coderd/httpmw package, versions <2.23.0


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMCODERCODERCODERDHTTPMW-12301714
  • published31 Aug 2025
  • disclosed28 Aug 2025
  • creditSpike Curtis

Introduced: 28 Aug 2025

New CVE NOT AVAILABLE CWE-324  (opens in a new tab)

How to fix?

Upgrade github.com/coder/coder/coderd/httpmw to version 2.23.0 or higher.

Overview

Affected versions of this package are vulnerable to Use of a Key Past its Expiration Date due to improper enforcement of OIDC token expiry in the authentication process when no refresh token is provided. An attacker can maintain unauthorized access to the service by continuously using a valid APIKey, even after the OIDC token has expired.

Note: This is exploitable if the OpenID Identity Provider does not return a refresh token during authentication.

References

CVSS Base Scores

version 4.0
version 3.1