PatchSiren cyber security CVE debrief
CVE-2026-52804 gogs CVE debrief
CVE-2026-52804 is a vulnerability in Gogs, an open-source self-hosted Git service, that allows a repository admin collaborator to escalate privileges to owner-level access. The issue arises from an off-by-one error in the ChangeCollaborationAccessMode function. This vulnerability is fixed in version 0.14.3. Gogs administrators should verify their deployments and restrict access to prevent potential privilege escalations. The vulnerability has a medium severity and is tracked under CVE-2026-52804.
- Vendor
- gogs
- Product
- Unknown
- CVSS
- MEDIUM 5.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-06-24
- Original CVE updated
- 2026-11-03
- Advisory published
- 2026-06-24
- Advisory updated
- 2026-11-03
Who should care
Gogs administrators and users with repository admin collaborator access should verify their deployments and restrict access to prevent potential privilege escalations. This includes reviewing Gogs deployments for version 0.14.3 or later, restricting repository admin collaborator access, and monitoring for unusual privilege escalations. Additionally, security teams and vulnerability management teams should be aware of this vulnerability and its potential
Why it matters
CVE-2026-52804 is a medium-severity vulnerability in Gogs that allows repository admin collaborators to escalate privileges to owner-level access. Defenders should prioritize verifying Gogs deployments, restricting access, and monitoring for unusual activity.
- Potential privilege escalation by repository admin collaborators
- Need to verify Gogs deployments for version 0.14.3 or later
- Importance of restricting repository admin collaborator access
Technical summary
The vulnerability in Gogs arises from an off-by-one error in the ChangeCollaborationAccessMode function, allowing repository admin collaborators to escalate privileges to owner-level access. This issue is addressed in version 0.14.3. The vulnerability has a CVSS score of 5.5 and a medium severity. Defenders should prioritize verifying Gogs deployments for version 0.14.3 or later and restricting repository admin collaborator access to prevent potential privilege escalations. The CVE record and NVD entry provide details on the vulnerability, its impact, and the fixed version.
Defensive priority
Defenders should prioritize verifying Gogs deployments for version 0.14.3 or later, restricting repository admin collaborator access, and monitoring for unusual privilege escalations.
Recommended defensive actions
- Verify Gogs deployments for version 0.14.3 or later
- Restrict repository admin collaborator access
- Monitor for unusual privilege escalations
- Review compensating controls for exposed systems
- Check relevant monitoring, detection, and logs for exposed assets
- Track exceptions and retest remediated assets
- Confirm whether affected product deployments exist in managed environments
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, its impact, and the fixed version. Additional information is available in the referenced GitHub commit, pull request, release, and security advisory.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-52804 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-52804
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-52804 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-52804
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/gogs/gogs/commit/1fdc9cc28e159135cfa4d6b11ecd5daa0f8ce22b
-
Source reference
Unverified legacy reference
URL: https://github.com/gogs/gogs/pull/8227
-
Source reference
Unverified legacy reference
URL: https://github.com/gogs/gogs/releases/tag/v0.14.3
-
Source reference
Unverified legacy reference
URL: https://github.com/gogs/gogs/security/advisories/GHSA-4565-r4x7-hg8j
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.