GHSA-2c6v-8r3v-gh6p · Severity: high · Ecosystem: go — Gogs has a Protected Branch Deletion Bypass in Web Interface
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.
Conclusion & alert: CVE-2026-25232 is rated Exploit Available (50/100): CVSS High severity, with low exploitation likelihood (EPSS 0.03%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-02-19 | — | 0.03% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.1 | 4.0 | HIGH |
|
— | — | [email protected] |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
GHSA-2c6v-8r3v-gh6p · Severity: high · Ecosystem: go — Gogs has a Protected Branch Deletion Bypass in Web Interface
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2026-25232: 1 source package rows (gogs); 4 state rows across 1 repos (edge-community); fixed 0, open 4. | https://security.alpinelinux.org/vuln/CVE-2026-25232 |
| URL | Tags |
|---|---|
| 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 |