Incorrect Authorization Affecting gitea.dev/routers/web/auth package, versions <1.27.0-rc0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.26% (18th 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 Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITEADEVROUTERSWEBAUTH-18601955
  • published10 Aug 2026
  • disclosed21 Jul 2026
  • creditUnknown

Introduced: 21 Jul 2026

CVE-2026-58425  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade gitea.dev/routers/web/auth to version 1.27.0-rc0 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization in the IntrospectOAuth process. An attacker can access sensitive metadata about tokens issued to other clients by submitting a valid token to the introspection endpoint using their own OAuth application's credentials. This allows the attacker to enumerate token validity, user identity, scope, and audience information for tokens not issued to their client.

CVSS Base Scores

version 4.0
version 3.1