Vulnerability · Published Jun 24, 2026 · Assigned by GitHub_M

CVE-2026-52804Gogs: Privilege Escalation via Collaboration Access Mode Validation

Medium 5.5

In plain English

A medium-severity security flaw in gogs from gogs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.5Medium
Exploit odds (30 days)0.5%top 57.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogogs.io/gogs0.14.3GHSA-4565-r4x7-hg8j
Gogogs.io/gogsno fix listedGO-2026-5110

Affected products (as reported)

VendorProductVersions
gogs gogs < 0.14.3

Weakness: CWE-193 · 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

References