Skip to main content

Off-by-one Error

CVE-2026-52804

Severity Medium
Score 5.5/10

Summary

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.

  • LOW
  • NETWORK
  • NONE
  • HIGH

CWE-193 - Off-by-one Error

A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.

Advisory Timeline

  • Published