Read the docs

Gogs lets collaborators bypass protected branch allowlists via merge

Priority MEDIUM 64CWE-863Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
None · High · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-863.

Summary

Gogs through 0.14.4 contains an incorrect authorization flaw (CWE-863). The MergePullRequest function skips branch protection checks, so a collaborator with write access can merge pull requests to add commits to branches restricted to allowlisted users.

Written with Claude Haiku 5.5 from the sources below · 2026-11-19

Description from the CNA

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 now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00467 32nd percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Gogsgogsup to 0.14.4—No fix listedCNA
  • gogs VendorGogs Affected up to 0.14.4 Fixed in — No fix listed CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*——Gogs
  • cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:* Versions — — ·Gogs

Remediation

The sources list no fixed version for Gogs.

Written with Claude Haiku 5.5 from the sources below · 2026-11-19

Timeline

  1. 2026-11-19 Threatist record created from CVE-2026-133113
  2. 2026-11-19 Alias added: GHSA-8mv3-686h-7r46
  3. 2026-11-19 CISA SSVC decision points changed

References

  • TI-2025-07419 Symlink flaw in Gogs PutContents API lets attackers overwrite files KEVCVSS 4.0HIGH 8.7
  • TI-2026-37922 Gogs: Path Traversal in organization name results in RCE through Git hooks CVSS 3.1CRITICAL 10.0
  • TI-2022-01876 OS Command Injection in gogs/gogs CVSS 3.1CRITICAL 9.8
  • TI-2022-01744 Remote Command Execution in gogs/gogs CVSS 3.1CRITICAL 10.0
  • TI-2025-39562 Gogs's update .git/config file allows remote command execution CVSS 4.0CRITICAL 9.3
  • TI-2026-20951 Gogs: Cross-repository LFS object overwrite via missing content hash verification CVSS 3.1CRITICAL 9.3
See all 79 →

Sources