CVE-2026-25242

MEDIUM CVSS 4.0: 6.9 EPSS 0.67%
Updated Feb 19, 2026
Gogs
Parameter Value
CVSS 6.9 (MEDIUM)
Affected Versions before 0.14.1
Fixed In 0.14.1
Type CWE-862 (Missing Authorization)
Vendor Gogs
Public PoC No

Gogs is an open source self-hosted Git service. Versions 0.13.4 and below expose unauthenticated file upload endpoints by default. When the global RequireSigninView setting is disabled (default), any remote user can upload arbitrary files to the server via /releases/attachments and /issues/attachments.

This enables the instance to be abused as a public file host, potentially leading to disk exhaustion, content hosting, or delivery of malware. CSRF tokens do not mitigate this attack due to same-origin cookie issuance. This issue has been fixed in version 0.14.1.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Gogs Gogs
cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*
— 0.14.1