CVE-2026-25232
Last modified
CVE-2026-25232 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.44% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:4.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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gogs | Gogs | < 0.14.1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-25232?
How severe is CVE-2026-25232?
How do I fix CVE-2026-25232?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-25227authentik is an open-source identity provider. From 2021.3.1…7.2
- CVE-2026-25228Signal K Server is a server application that runs on a centr…4.3
- CVE-2026-25229Gogs is an open source self-hosted Git service. Versions 0.1…6.5
- CVE-2026-2523A vulnerability was detected in Open5GS up to 2.7.6. The aff…7.5
- CVE-2026-25230FileRise is a self-hosted web file manager / WebDAV server. …5.4
- CVE-2026-25231FileRise is a self-hosted web file manager / WebDAV server. …7.5
- CVE-2026-25233PEAR is a framework and distribution system for reusable PHP…9.1
- CVE-2026-25234PEAR is a framework and distribution system for reusable PHP…9.8
- CVE-2026-25235PEAR is a framework and distribution system for reusable PHP…7.5
- CVE-2026-25236PEAR is a framework and distribution system for reusable PHP…9.8
- CVE-2026-25237PEAR is a framework and distribution system for reusable PHP…9.8
- CVE-2026-25238PEAR is a framework and distribution system for reusable PHP…9.8
Are you affected by CVE-2026-25232?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
