Unauthenticated File Upload Vulnerabilities in Gogs Git Service
CVE-2026-25242
6.9MEDIUM
What is CVE-2026-25242?
Gogs, an open-source self-hosted Git service, has a significant security vulnerability that allows unauthenticated file uploads on versions 0.13.4 and earlier. By default, when the 'RequireSigninView' setting is disabled, any user can upload arbitrary files via the endpoints /releases/attachments and /issues/attachments. This improper validation exposes the system to potential misuse, enabling it to function as a public file host, which may lead to issues such as disk exhaustion, content hosting risks, or even the delivery of malicious files. The vulnerability is addressed in Gogs version 0.14.1.
Affected Version(s)
gogs < 0.14.1
