Insufficient Session Expiration Affecting gitea.dev/services/auth package, versions <1.27.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.48% (39th percentile)

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-GITEADEVSERVICESAUTH-18681146
  • published14 Sept 2026
  • disclosed21 Jul 2026
  • creditAdamKorcz

Introduced: 21 Jul 2026

CVE-2026-56750  (opens in a new tab)
CWE-613  (opens in a new tab)

How to fix?

Upgrade gitea.dev/services/auth to version 1.27.0 or higher.

Overview

Affected versions of this package are vulnerable to Insufficient Session Expiration in the CheckAuthToken function. An attacker can maintain unauthorized, persistent access to a user's account by reusing a stolen Remember-Me token, as the compromised session is not invalidated even after detection.

CVSS Base Scores

version 4.0
version 3.1