{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-52811","published":"2026-06-24T21:16:57.093000Z","last_modified":"2026-11-03T23:17:47.817000Z","status":"Deferred","cvss":{"version":"4.0","score":9.0,"severity":"CRITICAL","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-22","CWE-59","CWE-61"],"cpes":[],"cpes_truncated":false,"vendors":["gogs"],"products":["gogs/gogs"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-89mr-xqfv-758m","ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":[{"introduced":"0","fixed":"0.14.3"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-5249","ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":54,"links":{"html_es":"/es/cve/CVE-2026-52811/","html_en":"/en/cve/CVE-2026-52811/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-52811","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-52811"},"untrusted":{"vendor_name":"gogs","product_name":"gogs","desc_en":"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 contains a literal backslash (preserved by filepath.Base on Linux, then converted to / by pathx.Clean) redirects the write through a previously-committed directory symlink. iox.CopyFile opens the destination with os.Create (no O_NOFOLLOW), so the kernel follows the parent symlink and writes attacker bytes anywhere the gogs UID can write — ~git/.ssh/authorized_keys → SSH foothold, or <repo>.git/hooks/post-receive → next-push RCE. This vulnerability is fixed in 0.14.3.","affected":[{"untrusted_vendor":"gogs","untrusted_product":"gogs","versions":[]}],"references":[{"url":"https://github.com/gogs/gogs/commit/04cb8afbb01d855454e59977a1cdbf522ea1db31","tags":[]},{"url":"https://github.com/gogs/gogs/pull/8332","tags":[]},{"url":"https://github.com/gogs/gogs/releases/tag/v0.14.3","tags":[]},{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-89mr-xqfv-758m","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:21483-1","url":"https://www.suse.com/support/update/","published":"2026-07-30T09:09:47+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}}]}