HackerFeeds
All CVEs

CVE-2026-133113: Gogs Incorrect Authorization

MEDIUM6.5

Published 2026-11-19 · Updated 2026-11-19 · Source disclosure@vulncheck.com

Not known to be exploited · medium severity — apply the vendor fix or mitigation on your normal schedule.

What to do

  1. The advisory lists versions through 0.14.4 as affected and does not name a fixed release. Check the references below for a newer version of Gogs or a vendor mitigation.
  2. Until it is patched, restrict network access to Gogs and review which accounts can log in to it.
  3. Restrict access to the affected feature and review logs for use by accounts that should not have it.

Affected and fixed versions

ProductAffectedFixed in
Gogs≤ 0.14.4Not stated in the advisory

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

It can be exploited remotely over the network; the attacker needs an ordinary low-privileged account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on integrity is rated high.

CVSS 3.1 metrics for CVE-2026-133113
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityLowNo special conditions are needed; the attack is repeatable.
Privileges requiredLowThe attacker needs an ordinary low-privileged account.
User interactionNoneNo action by a victim is needed.
ConfidentialityNoneNo effect on confidentiality.
IntegrityHighTotal loss of integrity.
AvailabilityNoneNo effect on availability.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Weakness: Incorrect Authorization

An authorization check exists but is wrong, so users can perform actions they should not be allowed to.

Classified as CWE-863.

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.

Advisory text as published in the NVD record.

View on NVD