# CVE-2022-0871: Missing Authorization in gogs/gogs

- Severity: High 8.2 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.24%, higher than 69% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-11T00:00:00.000Z
- Modified: 2026-06-17T04:21:24.367Z
- Also known as: GHSA-gw5h-h6hj-f56g, GO-2022-0369
- Weaknesses: CWE-862
- Assigned by: @huntrdev

## Description

Missing Authorization in GitHub repository gogs/gogs prior to 0.12.5.

(As written by CVE List.)

## Affected

- gogs gogs/gogs: from unspecified before 0.12.5
- gogs.io/gogs (Go): before 0.12.5
- gogs gogs: before 0.12.5

## Every score

- @huntrdev: CVSS:3.0 8.2 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.0 8.2 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://huntr.dev/bounties/ea82cfc9-b55c-41fe-ae58-0d0e0bd7ab62> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/gogs/gogs/commit/64102be2c90e1b47dbdd379873ba76c80d4b0e78> (patch, third-party-advisory, web)
- <https://github.com/gogs/gogs/security/advisories/GHSA-gw5h-h6hj-f56g> (advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0871> (advisory)
- <https://github.com/gogs/gogs/issues/6810> (web)
- <https://github.com/gogs/gogs> (package)

## Sources

- CVE List: [CVE-2022-0871](https://www.cve.org/CVERecord?id=CVE-2022-0871), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-gw5h-h6hj-f56g](https://github.com/advisories/GHSA-gw5h-h6hj-f56g), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0369](https://pkg.go.dev/vuln/GO-2022-0369), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-0871](https://nvd.nist.gov/vuln/detail/CVE-2022-0871), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0871 · Whole record: https://cve.day/CVE-2022-0871.json · Rebuilt by cve.day 2026-11-25T22:58:10.045Z
