Incorrect authorization in gogs - #VU170290

 

Incorrect authorization in gogs - #VU170290

Published: November 25, 2026


Vulnerability identifier: #VU170290
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-863
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to retain read and write access to previously accessible repositories after an administrator deactivates the account or prohibits login.

The vulnerability exists due to missing account-status checks in Gogs when authenticating requests with personal access tokens or SSH keys. A remote user can use an existing personal access token through the API, Git over HTTP, or Git LFS, or an existing SSH key through Git over SSH, to continue reading and modifying repository contents after lockout.


Affected software

gogs

Remediation

Install security update from vendor's website.

gogs - update to 0.14.4

External References