Skip to content
DayZeroHub
High Not yet writtenCVSS 7.1CVE-2026-133113

CVE-2026-133113: Gogs through 0.14.4 Protected Branch Allowlist Bypass via Pull Request Merge

gogs gogs

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-133113: high-severity vulnerability (CVSS 7.1) in gogs gogs.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.1.

Affected products and versions

gogs gogs <= 0.14.4

ProductVersionsFixed in
gogs gogs<= 0.14.4—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-863

Relevant change history

  1. Published

    Preliminary advisory published.