CVE-2025-8110
JSON

8.7highExploited

File overwrite in file update API in Gogs

Severity
8.7high CVSS:4.0 by Wiz
Exploit likelihood
92.3% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wiz
Also known as
GHSA-mq8m-42gh-wq7rGO-2025-4225

Description

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

Affected

Product or packageVersionsReported by
Gogsup to 0.13.3CVE List
gogs.io/gogs (Go)up to 0.13.3, all versionsGitHub Advisory Database, Go Vulnerability Database
gogs gogsup to 0.13.3NVD, CISA KEV

All scores

Wiz8.7high CVSS:4.0CVSS: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
GitHubhigh CVSS:4.0CVSS: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
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-22

SSVC (CISA-ADP): exploitation active, automatable no, technical impact total.

What each source says

CVE List

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

Go Vulnerability Database

Gogs vulnerable to a bypass of CVE-2024-55947 in gogs.io/gogs

NVD (es)

Manejo inadecuado de enlaces simbólicos en la API PutContents en Gogs permite la ejecución local de código.

CISA KEV

Gogs contains a path traversal vulnerability affecting improper Symbolic link handling in the PutContents API that could allow for code execution.

References

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

Sources

SourceRecordLicence
CVE ListCVE-2025-8110 changed 2026-02-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-mq8m-42gh-wq7r changed 2026-02-03CC-BY-4.0
Go Vulnerability DatabaseGO-2025-4225 changed 2026-03-03CC-BY-4.0
NVDCVE-2025-8110 changed 2026-10-14Public domain
CISA KEVCVE-2025-8110 changed 2026-01-12CC0-1.0