Improper Authorization in gogs - CVE-2022-0871

 

Improper Authorization in gogs - CVE-2022-0871

Published: May 5, 2026


Vulnerability identifier: #VU129659
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2022-0871
CWE-ID: CWE-285
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: gogs.io
Affected software:
gogs

Detailed vulnerability description

The vulnerability allows a remote attacker to bypass authorization checks.

The vulnerability exists due to improper PAM authorization handling. A remote attacker can gain access to the target application.


How to mitigate CVE-2022-0871

Install updates from vendor's website.

Sources