CVE-2026-133113
published high CVSS 4.0 · 7.1Gogs through 0.14.4 Protected Branch Allowlist Bypass via Pull Request Merge
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gogs | — | gogs0 through 0.14.4 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gogs | gogs | 0 through 0.14.4 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-863 Incorrect Authorization
References
6- 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
- GitHub Security Advisory (GHSA-8r2x-49gj-h6rm) https://github.com/gogs/gogs/security/advisories/GHSA-8r2x-49gj-h6rm
- VulnCheck Advisory: Gogs through 0.14.4 Protected Branch Allowlist Bypass via Pull Request Merge https://www.vulncheck.com/advisories/gogs-through-0.14.4-protected-branch-allowlist-bypass-via-pull-request-merge
Provider assertions
2VulnCheck · cna
Gogs through 0.14.4 Protected Branch Allowlist Bypass via Pull Request Merge
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b0e43d23487ed2fbe6f7955c33db09685381be4fd04d563e994962e8c712e224
- Ingested
- 19 Nov 2026, 19:08:18 UTC
- Source record
- Official CVE record