Exposure of Sensitive Information Due to Incompatible Policies Affecting code.gitea.io/gitea/routers/api/v1 package, versions <1.21.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (30th 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-CODEGITEAIOGITEAROUTERSAPIV1-14723273
  • published30 Dec 2025
  • disclosed26 Dec 2025
  • creditUnknown

Introduced: 26 Dec 2025

CVE-2025-68945  (opens in a new tab)
CWE-213  (opens in a new tab)

How to fix?

Upgrade code.gitea.io/gitea/routers/api/v1 to version 1.21.2 or higher.

Overview

Affected versions of this package are vulnerable to Exposure of Sensitive Information Due to Incompatible Policies due to insufficient access validation to private user projects. An attacker can gain unauthorized access to sensitive project information by directly accessing private project URLs without authentication.

CVSS Base Scores

version 4.0
version 3.1