{"id":"EUVD-2026-39082","enisaUuid":"a489d666-1a0c-3bf2-9295-b947faf95de9","description":"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 \u003crepo\u003e.git/hooks/post-receive → next-push RCE. This vulnerability is fixed in 0.14.3.","datePublished":"Jun 24, 2026, 8:31:38 PM","dateUpdated":"Nov 3, 2026, 10:13:27 PM","baseScore":9.0,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/gogs/gogs/security/advisories/GHSA-89mr-xqfv-758m\nhttps://github.com/gogs/gogs/pull/8332\nhttps://github.com/gogs/gogs/commit/04cb8afbb01d855454e59977a1cdbf522ea1db31\nhttps://github.com/gogs/gogs/releases/tag/v0.14.3\n","aliases":"CVE-2026-52811\nGHSA-89mr-xqfv-758m\n","assigner":"GitHub_M","epss":0.47,"enisaIdProduct":[{"id":"336ac405-d2b0-3a8f-8500-0960550a5982","product":{"name":"gogs","vendor":{"name":"gogs"}},"product_version":"\u003c 0.14.3"}],"enisaIdVendor":[{"id":"d4972838-9c17-37b0-bc27-040524458aa2","vendor":{"name":"gogs"}}],"enisaIdVulnerability":[{"id":"a7e0365c-539a-38d4-b9b4-d9ace7c267de","vulnerability":{"id":"GHSA-89mr-xqfv-758m","description":"Gogs: UploadRepoFiles writes outside repo working tree via committed parent sym","datePublished":"Jun 23, 2026, 5:09:55 PM","dateUpdated":"Jul 21, 2026, 1:40:15 PM","baseScore":0.0,"references":"https://github.com/gogs/gogs/security/advisories/GHSA-89mr-xqfv-758m\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-52811\nhttps://github.com/gogs/gogs/pull/8332\nhttps://github.com/gogs/gogs/commit/04cb8afbb01d855454e59977a1cdbf522ea1db31\nhttps://github.com/gogs/gogs\nhttps://github.com/gogs/gogs/releases/tag/v0.14.3\n","enisa_id":"EUVD-2026-39082\n","aliases":"GHSA-89mr-xqfv-758m\nCVE-2026-52811\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:52:23 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"f300a350-06fa-3432-8ac1-bb5c6a4c6504","vulnerability":{"id":"CVE-2026-52811","description":"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 \u003crepo\u003e.git/hooks/post-receive → next-push RCE. This vulnerability is fixed in 0.14.3.","datePublished":"Jun 24, 2026, 8:31:38 PM","dateUpdated":"Nov 3, 2026, 10:13:27 PM","status":"PUBLISHED","baseScore":9.0,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/gogs/gogs/security/advisories/GHSA-89mr-xqfv-758m\nhttps://github.com/gogs/gogs/pull/8332\nhttps://github.com/gogs/gogs/commit/04cb8afbb01d855454e59977a1cdbf522ea1db31\nhttps://github.com/gogs/gogs/releases/tag/v0.14.3\n","enisa_id":"EUVD-2026-39082\n","assigner":"GitHub_M","epss":0.47,"dataProcessed":"Nov 23, 2026, 7:20:44 AM","vulnerabilityProduct":[{"id":"899cbbce-4ae1-3053-8952-0a014c4ad5c7","product":{"name":"gogs","vendor":{"name":"gogs"}},"product_version":"\u003c 0.14.3"}],"vulnerabilityVendor":[{"id":"bb9569eb-004a-3cbe-b4c3-0a62f77508e2","vendor":{"name":"gogs"}}]}}],"enisaIdAdvisory":[{"id":"8a6e7a6b-092e-3041-b164-500726e1a726","advisory":{"id":"WID-SEC-W-2026-2013","description":"Gogs: Mehrere Schwachstellen","summary":"Ein Angreifer kann mehrere Schwachstellen in Gogs ausnutzen, um erweiterte Berechtigungen zu erlangen, beliebigen Code auszuführen – sogar mit erweiterten Berechtigungen, was zur vollständigen Kontrolle über das System führen kann –, Sicherheitsmaßnahmen zu umgehen, Daten zu manipulieren, Cross-Site-Scripting-Angriffe durchzuführen, Benutzer auf bösartige Websites umzuleiten oder einen Denial-of-Service-Zustand zu verursachen.","datePublished":"Jun 18, 2026, 10:00:00 PM","dateUpdated":"Jun 24, 2026, 10:00:00 PM","baseScore":0.0,"references":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2013.json\nhttps://wid.cert-bund.de/portal/wid/securityadvisory?name\u003dWID-SEC-2026-2013\n","aliases":"CVE-2022-1285\nCVE-2024-39930\nCVE-2024-39932\nCVE-2024-39933\nCVE-2025-64719\nCVE-2026-25119\nCVE-2026-26194\nCVE-2026-47267\nCVE-2026-52795\nCVE-2026-52796\nCVE-2026-52798\nCVE-2026-52799\nCVE-2026-52800\nCVE-2026-52801\nCVE-2026-52802\nCVE-2026-52804\nCVE-2026-52805\nCVE-2026-52806\nCVE-2026-52807\nCVE-2026-52808\nCVE-2026-52809\nCVE-2026-52810\nCVE-2026-52811\nCVE-2026-52812\nCVE-2026-52813\nCVE-2026-52814\nCVE-2026-52815\nCVE-2026-52816\n","source":{"id":8,"name":"csaf_certbund"},"advisoryProduct":[{"id":"0b35d661-4ca4-3e59-b450-5c296f8ae4d3","product":{"name":"0.14.3","vendor":{"name":"open source"}}},{"id":"1711f9af-3682-3f13-815a-11c77cdc3846","product":{"name":"gogs","vendor":{"name":"gogs"}}}]}}]}