CVE-2026-52811: Vulnerability in Gogs
Critical. Gogs is an open source self-hosted Git service. Prior to 0.14.3, (*Repository).UploadRepoFiles checks for symlinks only on the leaf of the upload target (osx.IsSymlink(targetPath)). The siblings UpdateRepoFile, DeleteRepoFile, and GetDiffPreview use hasSymlinkInPath, which lstats every component — UploadRepoFiles is the lone outlier. An attacker with repo-write access plus a multipart upload whose filename...
Go, CWE-22, CWE-59
- Exploitation
- None confirmed
- Severity
- 9 of 10
- Attack likelihood
- 0.5 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-89mr-xqfv-758m
- EU ID
- EUVD-2026-39082
- Vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- Weakness
- CWE-22, CWE-59, CWE-61
- Published
- 23 Jun 2026
- Last change
- 3 Nov 2026
- Likelihood rank
- Higher than 33 % of all rated vulnerabilities
- Analysis status
- Deferred
- Ecosystem
- Go
Affected products
Affected versions and the first fixed release
- Gogs Before 0.14.3; Version < 0.14.3. Fixed in 0.14.3
Affected packages
Vulnerable version ranges and fixed releases
- gogs.io/gogs Go, Affected before 0.14.3. Fixed in 0.14.3
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
- github.com/gogs/gogs/commit/04cb8afbb01d855454e59977a1cdbf522ea1db31
- github.com/gogs/gogs/pull/8332
- github.com/gogs/gogs/releases/tag/v0.14.3
Related
- Gogs vulnerabilities Recent advisories, watch this product