CVE-2026-52804
Received Received - Intake
BaseFortify

Publication date: 2026-06-24

Last updated on: 2026-06-24

Assigner: GitHub, Inc.

Description
Gogs is an open source self-hosted Git service. Prior to 0.14.3, a repository admin collaborator can escalate their privileges to owner-level access by exploiting an off-by-one error in the ChangeCollaborationAccessMode function. This vulnerability is fixed in 0.14.3.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-24
Last Modified
2026-06-24
Generated
2026-06-25
AI Q&A
2026-06-25
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
gogs gogs to 0.14.3 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-193 A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in Gogs, an open source self-hosted Git service. Before version 0.14.3, a repository admin collaborator could exploit an off-by-one error in the ChangeCollaborationAccessMode function to escalate their privileges to owner-level access.

The issue is fixed in version 0.14.3.

Impact Analysis

An attacker who is a repository admin collaborator could exploit this vulnerability to gain owner-level access to the repository. This elevated access could allow them to perform actions reserved for owners, potentially compromising the integrity, confidentiality, and availability of the repository and its contents.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade Gogs to version 0.14.3 or later, where the off-by-one error in the ChangeCollaborationAccessMode function has been fixed.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-52804. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart