Gogs is an open source self-hosted Git service. A malicious user is able to write a file to an arbitrary path on the server to gain SSH access to the server. The vulnerability is fixed in 0.13.1.
https://www.securityweek.com/unpatched-gogs-zero-day-exploited-for-months/
https://www.databreachtoday.com/zero-day-700-instances-self-hosted-git-service-exploited-a-30254
https://www.darkreading.com/vulnerabilities-threats/attackers-exploited-gogs-zero-day-months
https://thehackernews.com/2025/12/unpatched-gogs-zero-day-exploited.html
https://www.theregister.com/2025/12/10/gogs_0day_under_active_exploitation/
Published: 2024-12-23
Updated: 2025-04-10
Base Score: 9
Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C
Severity: High
Base Score: 8.8
Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity: High
Base Score: 8.7
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Severity: High
EPSS: 0.00107