# CVE-2026-25242: Gogs allows unauthenticated file uploads

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.41%, higher than 84% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-17T18:44:07.000Z
- Modified: 2026-06-17T10:24:21.987Z
- Also known as: GHSA-fc3h-92p8-h36f, GO-2026-4500
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gogs gogs: < 0.14.1; before 0.14.1
- gogs.io/gogs (Go): before 0.14.1; all versions

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/gogs/gogs/security/advisories/GHSA-fc3h-92p8-h36f> (exploit, advisory, patch, vendor-advisory, web)
- <https://github.com/gogs/gogs/pull/8128> (issue-tracking, web)
- <https://github.com/gogs/gogs/commit/628216d5889fcb838c471f4754f09b935d9cd9f3> (patch, web)
- <https://github.com/gogs/gogs/releases/tag/v0.14.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25242> (advisory)
- <https://github.com/gogs/gogs> (package)

## Sources

- CVE List: [CVE-2026-25242](https://www.cve.org/CVERecord?id=CVE-2026-25242), CVE Terms of Use, modified 2026-02-19
- GitHub Advisory Database: [GHSA-fc3h-92p8-h36f](https://github.com/advisories/GHSA-fc3h-92p8-h36f), CC-BY-4.0, modified 2026-02-23
- Go Vulnerability Database: [GO-2026-4500](https://pkg.go.dev/vuln/GO-2026-4500), CC-BY-4.0, modified 2026-02-23
- NVD: [CVE-2026-25242](https://nvd.nist.gov/vuln/detail/CVE-2026-25242), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25242 · Whole record: https://cve.day/CVE-2026-25242.json · Rebuilt by cve.day 2026-11-25T22:59:14.074Z
