CVE-2026-52804

Gogs: Privilege Escalation via Collaboration Access Mode Validation

State
Published
Severity
5.5 Medium
Published
Jun 24, 2026
Updated
Jun 26, 2026
Reserved
Jun 8, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.5 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:PGitHub_M

Weaknesses

Affected Products

ProductVersions
gogsgogs
  • < 0.14.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.