All reports
Medium

SSRF in repository migration

Affected versions

Version ranges need review.

Affected versions
<0.12.5
Fixed version
0.12.5
Affected versions
< 0.12.5
Fixed version
0.12.5

Exploitation

CVE-2022-0870

Probability of exploitation in the next 30 days: 3.42%

FIRST EPSS · 2026-11-22

Description

Gogs is a self-hosted Git service. The malicious user is able to discover services in the internal network through repository migration functionality. All installations accepting public traffic are affected. Internal network CIDRs are prohibited to be used as repository migration targets. Users should upgrade to 0.12.5 or the latest 0.13.0+dev. Gogs should be ran in its own private network until users can update.

Links