Missing Authorization Affecting gogs.io/gogs/internal/db package, versions <0.13.4-rc.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.34% (26th 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 Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GOGSIOGOGSINTERNALDB-15248369
  • published9 Feb 2026
  • disclosed6 Feb 2026
  • creditNeptunium931

Introduced: 6 Feb 2026

CVE-2026-22592  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade gogs.io/gogs/internal/db to version 0.13.4-rc.1 or higher.

Overview

Affected versions of this package are vulnerable to Missing Authorization via the synchronization process when a repository file is deleted prior to synchronization. An attacker can cause the application to crash by deleting a repository file before synchronization as an authenticated user.

CVSS Base Scores

version 4.0
version 3.1