CVE-2026-25242 json
Gogs allows unauthenticated file uploads
published 2026-02-17 8 mo ago modified 2026-06-17 4 mo ago also GHSA-fc3h-92p8-h36f , GO-2026-4500 , EUVD-2026-8119
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go gogs.io/gogs 0.14.1
- gogs gogs 0.14.1
- govulncheck-vulndb openSUSE Leap 15.6 0.0.20260226T182644-150000.1.149.1
suse advisories SUSE-SU-2026:0757-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
- github.com/gogs/gogs@628216d commit
- github.com/gogs/gogs#8128 pull request
- github.com/gogs/gogs/releases/tag/v0.14.1 release
- github.com/gogs/gogs/security/advisories/GHSA-fc3h-92p8-h36f advisory
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 8 mo ago
Exploit prediction
0.68% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/gogs/gogs/security/advisories/GHSA-fc3h-92p8-h36f referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 6.9 | CVSS:4.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 |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | gogs.io/gogs | <0.14.1 all versions |
0.14.1 |
Affected products
- gogs gogs
Classification
- Weakness
-
- CWE-862 Missing Authorization
References
-
github.com
/gogs/gogs/pull/8128
web, issue-tracking
-
github.com
/gogs/gogs/commit/628216d5889fcb838c471f4754f09b935d9cd9f3
web, patch
-
github.com
/gogs/gogs/security/advisories/GHSA-fc3h-92p8-h36f
web, exploit, patch, vendor-advisory, advisory
-
github.com
/gogs/gogs/releases/tag/v0.14.1
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-25242
advisory
-
github.com
/gogs/gogs
package
Sources
- CVE List CVE-2026-25242
- GitHub Advisory GHSA-fc3h-92p8-h36f
- NVD CVE-2026-25242
- OSV GO-2026-4500
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.