# CVE-2022-1285: Server-Side Request Forgery (SSRF) in gogs/gogs

- Severity: High 8.3 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`
- 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.11%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-01T05:55:10.000Z
- Modified: 2026-06-17T04:22:09.087Z
- Also known as: GHSA-w689-557m-2cvq, GO-2022-0583
- Weaknesses: CWE-918
- Assigned by: @huntrdev

## Description

Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.8.

(As written by CVE List.)

## Affected

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

## Every score

- @huntrdev: CVSS:3.0 8.3 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.0 8.3 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://huntr.dev/bounties/da1fbd6e-7a02-458e-9c2e-6d226c47046d> (exploit, patch, third-party-advisory, web)
- <https://github.com/gogs/gogs/commit/7885f454a4946c4bbec1b4f8c603b5eea7429c7f> (patch, third-party-advisory, web)
- <https://github.com/gogs/gogs/security/advisories/GHSA-w689-557m-2cvq> (advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-1285> (advisory)
- <https://github.com/gogs/gogs> (package)

## Sources

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

---

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