home / blog

2026-11-19 · medium

CVE-2026-133113: Gogs Authorization Bypass

Authorization bypass vulnerability in Gogs allows unauthorized access to protected branches.

CVE-2026-133113: Gogs Authorization Bypass

CVE-2026-133113 is an authorization bypass vulnerability in Gogs up to version 0.14.4. This vulnerability allows collaborators with write access to bypass protections applied to protected branches through pull request merge operations. The issue lies in the fact that MergePullRequest skips branch protection checks and PullRequest.Merge omits hook environment variables.

The severity is classified as medium (CVSS 6.5) according to NVD, while signals on GitHub indicate a higher score (8.3, classified as high). The vulnerability was published on November 19, 2026, so it represents a novelty in the cybersecurity landscape. There are consistent signals about the severity of the vulnerability, despite slight discrepancies in CVSS scores.

For defense, we recommend carefully monitoring pull request merge activities, applying additional controls at the repository level, and planning to update as soon as a patched version of Gogs that resolves the vulnerability becomes available. Until then, it's advisable to limit write access only to strictly necessary users.

At a glance

What
Authorization bypass vulnerability in Gogs that allows collaborators with write access to push to protected branches by merging pull requests
Severity
Medium (CVSS 6.5)
Affected versions
Gogs ≤0.14.4
Fix
Not reported in the provided information
Status
Published on November 19, 2026
Action
Update Gogs to patched version as soon as available, apply alternative access controls

Sources: NVD, CVE-2026-133113

← All articles