CVE-2026-25242
Gogs allows unauthenticated file uploads
Description
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.
INFO
Published Date :
Feb. 19, 2026, 7:17 a.m.
Last Modified :
Feb. 19, 2026, 7:46 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | [email protected] | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Upgrade Gogs to version 0.14.1 or newer.
- Enable RequireSigninView setting if upgrading is not possible.
- Review file upload configurations and access controls.
Public PoC/Exploit Available at Github
CVE-2026-25242 has a 2 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-25242.
| URL | Resource |
|---|---|
| https://github.com/gogs/gogs/commit/628216d5889fcb838c471f4754f09b935d9cd9f3 | Patch |
| https://github.com/gogs/gogs/pull/8128 | Issue Tracking |
| https://github.com/gogs/gogs/releases/tag/v0.14.1 | Release Notes |
| https://github.com/gogs/gogs/security/advisories/GHSA-fc3h-92p8-h36f | Exploit Patch Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-25242 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-25242
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
PoC for CVE-2026-25242 gogs unauthenticated file upload
# مستودع asrar-mared هذا هو المستودع الرئيسي لمجموعة **المارد الرقمي**، نقطة التحكم المركزية التي تجمع كل المشاريع والميول التقنية تحت راية واحدة. يمثل الأساس الذي تُبنى عليه الفروع الأخرى، ويُدار منه كل شيء من تنظيم الكود إلى إدارة المجتمع. للاطلاع على المستودع: [asrar-mared](https://github.com/asrar-mared)
HTML CSS
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-25242 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-25242 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Reanalysis by [email protected]
Feb. 19, 2026
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:* versions up to (excluding) 0.14.0 OR *cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:* versions up to (excluding) 0.14.1 -
Initial Analysis by [email protected]
Feb. 19, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:* versions up to (excluding) 0.14.0 Added Reference Type GitHub, Inc.: https://github.com/gogs/gogs/commit/628216d5889fcb838c471f4754f09b935d9cd9f3 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/gogs/gogs/pull/8128 Types: Issue Tracking Added Reference Type GitHub, Inc.: https://github.com/gogs/gogs/releases/tag/v0.14.1 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/gogs/gogs/security/advisories/GHSA-fc3h-92p8-h36f Types: Exploit, Patch, Vendor Advisory -
New CVE Received by [email protected]
Feb. 19, 2026
Action Type Old Value New Value Added Description 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. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-862 Added Reference https://github.com/gogs/gogs/commit/628216d5889fcb838c471f4754f09b935d9cd9f3 Added Reference https://github.com/gogs/gogs/pull/8128 Added Reference https://github.com/gogs/gogs/releases/tag/v0.14.1 Added Reference https://github.com/gogs/gogs/security/advisories/GHSA-fc3h-92p8-h36f