SecurityContext

CVE-2026-133113: Gogs - Authorization Bypass

  • Cve: CVE-2026-133113
  • Name: Gogs - Authorization Bypass
  • Description: 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.
  • Impact: Collaborators with write access can bypass branch protection and merge commits into restricted branches, undermining repository access controls.
  • Remediation: Update to the latest version of Gogs beyond 0.14.4.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: data_tampering
  • Requirement type: logged_in
  • Requirements: Attacker must be a collaborator with write access
  • Labels source: securitycontext
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.00375
  • Epss percentile: 0.32153
  • Assignee: [email protected]
  • Published at: 2026-11-19T14:17:28Z
  • Age in days: 5
  • Modified at: 2026-11-19T21:45:07Z
  • Public exploits total: 1
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-133113
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-863Incorrect Authorization

Public exploits

UrlSourceAdded date
https://github.com/cveForge/CVE-2026-133113poc-in-github2026-11-23

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/gogs/gogs
https://github.com/gogs/gogs/blob/v0.14.4/internal/route/repo/pull.go#L401-L431
https://github.com/gogs/gogs/commit/089f089fa783f95b54a635b8ec9b3f498c2a5d12
https://github.com/gogs/gogs/commit/1651767a3e2c531ccf0af2141d691cfff8763e09
https://github.com/gogs/gogs/security/advisories/GHSA-8r2x-49gj-h6rm
https://www.vulncheck.com/advisories/gogs-through-0.14.4-protected-branch-allowlist-bypass-via-pull-request-merge

Products

ProductAffectedPlatform boundSourcesUrl
gogs:gogs<= 0.14.4nocna/v1/products/gogs/gogs

Projects

RepositoryLink kindsIndexedUrl
gogs/gogscommit, fix, security_advisoryyes/v1/repositories/gogs/gogs

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-11-23
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 174004
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports