CVE Explore

Auth bypass in Gogs

CVE-2026-133113

CVSS v3
6.5 Medium
Public exploits
2 repositories
EPSS
0.004 · 32.2th percentile
Published
2026-11-19

Gogs through 0.14.4 contains an authorization bypass vulnerability that allows collaborators with write access to push to protected branches by merging pull requests. Because MergePullRequest skips branch protection checks and PullRequest.Merge omits hook environment variables, attackers can merge commits into branches restricted to allowlisted users.

Vulnerability class: Broken Access Control

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.

Attack Vector
Network AV:N
Attack Complexity
Low AC:L
Privileges Required
Low PR:L
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
None C:N
Integrity
High I:H
Availability
None A:N

EPSS exploit prediction

EPSS 0.004, 32.2th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

2 public repositories with exploit or proof-of-concept code for this CVE:

  • cveForge/CVE-2026-133113 (last pushed 2026-11-23): CVE-2026-133113 -- Gogs <=0.14.4 Protected Branch Bypass via Pull Request Merge API. CVSS 8.3 High.
  • LLCForge/CVE-2026-133113 (last pushed 2026-11-19): CVE-2026-133113 -- Gogs <=0.14.4 Protected Branch Bypass via Pull Request Merge API. CVSS 8.3 High.

References