CVE-2022-0870Gogs
Medium 5.3 No auth needed
Follow: this CVE · Gogs · Gogs We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 3.3% probability of exploitation in 30 days · percentile 89
- Auth required
- No
- Published
- Mar 11, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.5.
What to do
- Apply the vendor's security update for Gogs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | gogs.io/gogs |
< 0.12.5 |
0.12.5 |
go get gogs.io/gogs@v0.12.5 |
| Go | gogs.io/gogs |
< 0.12.5 |
0.12.5 |
go get gogs.io/gogs@v0.12.5 |
Per OSV / GitHub Advisories (GHSA-7v5r-r995-q2x2, GO-2022-0566). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gogs | gogs | < 0.12.5 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- huntr.dev Exploit Issue Tracking Patch