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: 9.3 [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]
CVE-ID: CVE-2022-0871
CWE-ID: CWE-285
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

gogs

How to mitigate CVE-2022-0871

Install updates from vendor's website.

gogs - update to 0.12.5

External References

Related Security Bulletins