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 .git/hooks/post-receive → next-push RCE. This vulnerability is fixed in 0.14.3.
CVE-2026-52811
This critical-severity CVE scores 9.0 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.5%, top 62% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.0
- EG Score
- 9.0(medium)
- EPSS
- 37.6%
- KEV
- Not listed
Published
June 23, 2026
Last Modified
June 26, 2026
Advisory Details (4)
Auto-updated Jun 24, 2026UploadRepoFiles writes outside repo working tree via committed parent sym · Advisory · gogs/gogs · GitHub
https://github.com/gogs/gogs/security/advisories/GHSA-89mr-xqfv-758m0.14.3
Patch available: gogs/gogs v0.14.3
https://github.com/gogs/gogs/releases/tag/v0.14.3security: walk full upload path for symlinks
Fix merged in gogs/gogs PR #8332 on 2026-06-07 — awaiting tagged release
https://github.com/gogs/gogs/pull/8332commit 04cb8afbb01d (gogs/gogs)
Fix landed in gogs/gogs commit 04cb8afbb01d — awaiting tagged release
https://github.com/gogs/gogs/commit/04cb8afbb01d855454e59977a1cdbf522ea1db31Vendor Advisories for CVE-2026-52811(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(3)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 48× in last 7d / 87× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-07 03:03 UTCEG score recompute
- 2026-07-06 22:52 UTCEG score recompute
- 2026-07-06 18:42 UTCEG score recompute
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 13:59 UTCEG score recompute
- 2026-07-06 09:48 UTCEG score recompute
- 2026-07-06 05:33 UTCEG score recompute
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 01:23 UTCEG score recompute
- 2026-07-05 21:13 UTCEG score recompute
- 2026-07-05 17:03 UTCEG score recompute
- 2026-07-05 12:53 UTCEG score recompute
- 2026-07-05 08:41 UTCEG score recompute
- 2026-07-05 04:31 UTCEG score recompute
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 00:13 UTCEG score recompute
- 2026-07-04 19:59 UTCEG score recompute
- 2026-07-04 15:49 UTCEG score recompute
- 2026-07-04 11:40 UTCEG score recompute
- 2026-07-04 07:30 UTCEG score recompute
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 02:59 UTCEG score recompute
- 2026-07-03 22:41 UTCEG score recompute
Show 62 moreShow fewer
- 2026-07-03 18:31 UTCEG score recompute
- 2026-07-03 14:20 UTCEG score recompute
- 2026-07-03 10:10 UTCEG score recompute
- 2026-07-03 06:00 UTCEG score recompute
- 2026-07-03 01:49 UTCEG score recompute
- 2026-07-02 21:39 UTCEG score recompute
- 2026-07-02 17:29 UTCEG score recompute
- 2026-07-02 13:18 UTCEG score recompute
- 2026-07-02 09:08 UTCEG score recompute
- 2026-07-02 04:59 UTCEG score recompute
- 2026-07-02 00:50 UTCEG score recompute
- 2026-07-01 20:40 UTCEG score recompute
- 2026-07-01 16:30 UTCEG score recompute
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 12:18 UTCEG score recompute
- 2026-07-01 08:05 UTCEG score recompute
- 2026-07-01 03:55 UTCEG score recompute
- 2026-06-30 23:46 UTCEG score recompute
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 19:21 UTCEG score recompute
- 2026-06-30 15:11 UTCEG score recompute
- 2026-06-30 10:57 UTCEG score recompute
- 2026-06-30 06:42 UTCEG score recompute
- 2026-06-30 02:33 UTCEG score recompute
- 2026-06-29 22:23 UTCEG score recompute
- 2026-06-29 18:14 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 13:56 UTCEG score recompute
- 2026-06-29 09:46 UTCEG score recompute
- 2026-06-29 05:37 UTCEG score recompute
- 2026-06-29 01:26 UTCEG score recompute
- 2026-06-28 21:17 UTCEG score recompute
- 2026-06-28 17:07 UTCEG score recompute
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 12:57 UTCEG score recompute
- 2026-06-28 08:47 UTCEG score recompute
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:38 UTCEG score recompute
- 2026-06-28 00:29 UTCEG score recompute
- 2026-06-27 20:20 UTCEG score recompute
- 2026-06-27 16:11 UTCEG score recompute
- 2026-06-27 12:01 UTCEG score recompute
- 2026-06-27 07:52 UTCEG score recompute
- 2026-06-27 03:42 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 23:33 UTCEG score recompute
- 2026-06-26 19:23 UTCEG score recompute
- 2026-06-26 15:14 UTCEG score recompute
- 2026-06-26 11:05 UTCEG score recompute
- 2026-06-26 03:12 UTCEG score recompute
- 2026-06-25 23:03 UTCEG score recompute
- 2026-06-25 18:54 UTCEG score recompute
- 2026-06-25 14:44 UTCEG score recompute
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 10:33 UTCEG score recompute
- 2026-06-25 06:24 UTCEG score recompute
- 2026-06-25 02:14 UTCEG score recompute
- 2026-06-24 22:04 UTCEG score recompute▲ 9.00
- 2026-06-24 22:03 UTCNVD updateCVSS v3 → 9 · CVSS v4 → 9
- 2026-06-23 17:22 UTCEG score recompute
Frequently asked(5)
What is CVE-2026-52811?
When was CVE-2026-52811 disclosed?
Is CVE-2026-52811 actively exploited?
What is the CVSS score of CVE-2026-52811?
How do I remediate CVE-2026-52811?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-52811
Is Your Infrastructure Affected by CVE-2026-52811?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.