Incorrect Authorization Affecting gogs.io/gogs/cmd/gogs/internal/web package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (7th 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-GOGSIOGOGSCMDGOGSINTERNALWEB-17756780
  • published7 Jul 2026
  • disclosed24 Jun 2026
  • creditbyteoverride

Introduced: 24 Jun 2026

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

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization via the Watch API handler. An attacker can gain unauthorized access to private repository activity by exploiting an inverted access check, allowing them to monitor commit messages, branch names, issue titles, and pull request details. If email notifications are enabled, the attacker may also receive emails containing issue and comment content.

CVSS Base Scores

version 4.0
version 3.1