CVE-2026-52804 PUBLISHED

Gogs: Privilege Escalation via Collaboration Access Mode Validation

Assigner: GitHub_M
Reserved: 08.06.2026 Published: 24.06.2026 Updated: 24.06.2026

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.

Metrics

CVSS Vector: CVSS: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:P
CVSS Score: 5.5

Product Status

Vendor gogs
Product gogs
Versions
  • Version < 0.14.3 is affected

References

Problem Types

  • CWE-193: Off-by-one Error CWE