Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Gogs (gogs.io/gogs) versions before 0.12.5 mishandle authorization when PAM is used for login. The source gives few details about what an attacker must do or what access they gain. Upgrade to Gogs 0.12.5 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.2 | High | 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N | CNA (@huntrdev) |
- CISA KEV Not listed.
- EPSS 0.012, the 69th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
Sources
- GitHub Advisory Database: GHSA-gw5h-h6hj-f56g
- OSV: GHSA-gw5h-h6hj-f56g
- github.com/gogs/gogs/security/advisories/GHSA-gw5h-h6hj-f56g
- nvd.nist.gov/vuln/detail/CVE-2022-0871
- github.com/gogs/gogs/commit/64102be2c90e1b47dbdd379873ba76c80d4b0e78
- github.com/gogs/gogs/issues/6810
- huntr.dev/bounties/ea82cfc9-b55c-41fe-ae58-0d0e0bd7ab62