8.8
HIGH CVSS 3.1
CVE-2026-25232
Gogs has a Protected Branch Deletion Bypass in Web Interface
Description

Gogs is an open source self-hosted Git service. Versions 0.13.4 and below have an access control bypass vulnerability which allows any repository collaborator with Write permissions to delete protected branches (including the default branch) by sending a direct POST request, completely bypassing the branch protection mechanism. This vulnerability in the DeleteBranchPost function eenables privilege escalation from Write to Admin level, allowing low-privilege users to perform dangerous operations that should be restricted to administrators only. Although Git Hook layer correctly prevents protected branch deletion via SSH push, the web interface deletion operation does not trigger Git Hooks, resulting in complete bypass of protection mechanisms. In oder to exploit this vulnerability, attackers must have write permissions to the target repository, protected branches configured to the target repository and access to the Gogs web interface. This issue has been fixed in version 0.14.1.

INFO

Published Date :

Feb. 19, 2026, 7:17 a.m.

Last Modified :

Feb. 19, 2026, 7:44 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-25232 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Gogs gogs
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 4.0 HIGH [email protected]
Solution
Update Gogs to version 0.14.1 or later to fix branch protection bypass.
  • Update Gogs to version 0.14.1 or later.
  • Review and enforce branch protection rules.
  • Audit collaborator permissions for repositories.
Public PoC/Exploit Available at Github

CVE-2026-25232 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-25232.

URL Resource
https://github.com/gogs/gogs/commit/7b7e38c88007a7c482dbf31efff896185fd9b79c Patch
https://github.com/gogs/gogs/pull/8124 Issue Tracking
https://github.com/gogs/gogs/releases/tag/v0.14.1 Release Notes
https://github.com/gogs/gogs/security/advisories/GHSA-2c6v-8r3v-gh6p Exploit Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-25232 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-25232 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

# مستودع asrar-mared هذا هو المستودع الرئيسي لمجموعة **المارد الرقمي**، نقطة التحكم المركزية التي تجمع كل المشاريع والميول التقنية تحت راية واحدة. يمثل الأساس الذي تُبنى عليه الفروع الأخرى، ويُدار منه كل شيء من تنظيم الكود إلى إدارة المجتمع. للاطلاع على المستودع: [asrar-mared](https://github.com/asrar-mared)

HTML CSS

Updated: 3 weeks, 3 days ago
2 stars 1 fork 1 watcher
Born at : Nov. 13, 2025, 5:30 a.m. This repo has been linked 194 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-25232 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-25232 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Feb. 19, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CPE Configuration OR *cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:* versions up to (excluding) 0.14.1
    Added Reference Type GitHub, Inc.: https://github.com/gogs/gogs/commit/7b7e38c88007a7c482dbf31efff896185fd9b79c Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/gogs/gogs/pull/8124 Types: Issue Tracking
    Added Reference Type GitHub, Inc.: https://github.com/gogs/gogs/releases/tag/v0.14.1 Types: Release Notes
    Added Reference Type GitHub, Inc.: https://github.com/gogs/gogs/security/advisories/GHSA-2c6v-8r3v-gh6p Types: Exploit, Vendor Advisory
  • New CVE Received by [email protected]

    Feb. 19, 2026

    Action Type Old Value New Value
    Added Description Gogs is an open source self-hosted Git service. Versions 0.13.4 and below have an access control bypass vulnerability which allows any repository collaborator with Write permissions to delete protected branches (including the default branch) by sending a direct POST request, completely bypassing the branch protection mechanism. This vulnerability in the DeleteBranchPost function eenables privilege escalation from Write to Admin level, allowing low-privilege users to perform dangerous operations that should be restricted to administrators only. Although Git Hook layer correctly prevents protected branch deletion via SSH push, the web interface deletion operation does not trigger Git Hooks, resulting in complete bypass of protection mechanisms. In oder to exploit this vulnerability, attackers must have write permissions to the target repository, protected branches configured to the target repository and access to the Gogs web interface. This issue has been fixed in version 0.14.1.
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-863
    Added Reference https://github.com/gogs/gogs/commit/7b7e38c88007a7c482dbf31efff896185fd9b79c
    Added Reference https://github.com/gogs/gogs/pull/8124
    Added Reference https://github.com/gogs/gogs/releases/tag/v0.14.1
    Added Reference https://github.com/gogs/gogs/security/advisories/GHSA-2c6v-8r3v-gh6p
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.