# CVE-2025-8110: File overwrite in file update API in Gogs

- Severity: High 8.7 (CVSS:4.0, scored by Wiz) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/AU:Y/R:U/V:C`
- Known to be exploited: yes. In CISA's catalogue since 2026-01-12. Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Likelihood of exploitation in the next 30 days (EPSS): 92.3%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-12-10T13:23:46.777Z
- Modified: 2026-10-14T21:10:00.183Z
- Also known as: GHSA-mq8m-42gh-wq7r, GO-2025-4225
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation active, automatable no, technical impact total
- Assigned by: Wiz

## Description

Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code.

(As written by CVE List.)

## Affected

- Gogs: up to 0.13.3
- gogs.io/gogs (Go): up to 0.13.3; all versions
- gogs gogs: up to 0.13.3

## Every score

- Wiz: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/AU:Y/R:U/V:C`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <http://wiz.io/blog/wiz-research-gogs-cve-2025-8110-rce-exploit> (exploit, third-party-advisory, web)
- <https://github.com/gogs/gogs/pull/8078> (exploit, issue-tracking, patch, vendor-advisory, web)
- <https://github.com/gogs/gogs/commit/553707f3fd5f68f47f531cfcff56aa3ec294c6f6> (kev, patch, web)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-8110> (government-resource, third-party-advisory, us-government-resource, web)
- <http://www.openwall.com/lists/oss-security/2025/12/11/3> (mailing-list, web)
- <http://www.openwall.com/lists/oss-security/2025/12/11/4> (mailing-list, web)
- <http://www.openwall.com/lists/oss-security/2026/01/17/4> (mailing-list, web)
- <http://www.openwall.com/lists/oss-security/2026/01/18/1> (mailing-list, web)
- <http://www.openwall.com/lists/oss-security/2026/01/18/2> (mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-8110> (advisory, kev)
- <https://github.com/gogs/gogs/pull/8082> (web)
- <https://github.com/advisories/GHSA-mq8m-42gh-wq7r> (advisory)
- <https://github.com/gogs/gogs> (package)

## Sources

- CVE List: [CVE-2025-8110](https://www.cve.org/CVERecord?id=CVE-2025-8110), CVE Terms of Use, modified 2026-02-26
- GitHub Advisory Database: [GHSA-mq8m-42gh-wq7r](https://github.com/advisories/GHSA-mq8m-42gh-wq7r), CC-BY-4.0, modified 2026-02-03
- Go Vulnerability Database: [GO-2025-4225](https://pkg.go.dev/vuln/GO-2025-4225), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-8110](https://nvd.nist.gov/vuln/detail/CVE-2025-8110), Public domain, modified 2026-10-14
- CISA KEV: [CVE-2025-8110](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2025-8110), CC0-1.0, modified 2026-01-12

---

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