CVE-2025-8110

File overwrite in file update API in Gogs

State
Published
Severity
8.7 High
Published
Dec 10, 2025
Updated
Feb 26, 2026
Reserved
Jul 24, 2025

Read the record on cve.org

Description

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

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS: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:CWiz

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
GogsGogs
  • 0.13.3 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.