CVE-2026-52811

CRITICALPre-NVD 9.09.0
EchelonGraph scoreMEDIUM confidence

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).

Triggered by: NVD CVSS baseline
Sources: epss, secondary
9.0
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 0%CVSS: 9.0Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.

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, 2026
🔬 Proof of concept available. Patch available. Sources: github_commit, github_pr, github_release, github.
github Patch Available🟡 PoC Available

UploadRepoFiles writes outside repo working tree via committed parent sym · Advisory · gogs/gogs · GitHub

https://github.com/gogs/gogs/security/advisories/GHSA-89mr-xqfv-758m
github_release Patch Available

0.14.3

Patch available: gogs/gogs v0.14.3

https://github.com/gogs/gogs/releases/tag/v0.14.3
github_pr

security: 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/8332
github_commit

commit 04cb8afbb01d (gogs/gogs)

Fix landed in gogs/gogs commit 04cb8afbb01d — awaiting tagged release

https://github.com/gogs/gogs/commit/04cb8afbb01d855454e59977a1cdbf522ea1db31

Vendor 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.

  1. 2026-07-07 03:03 UTCEG score recompute
  2. 2026-07-06 22:52 UTCEG score recompute
  3. 2026-07-06 18:42 UTCEG score recompute
  4. 2026-07-06 16:27 UTCEPSS rescore
  5. 2026-07-06 16:27 UTCEPSS rescore
  6. 2026-07-06 13:59 UTCEG score recompute
  7. 2026-07-06 09:48 UTCEG score recompute
  8. 2026-07-06 05:33 UTCEG score recompute
  9. 2026-07-06 02:23 UTCEPSS rescore
  10. 2026-07-06 02:23 UTCEPSS rescore
  11. 2026-07-06 01:23 UTCEG score recompute
  12. 2026-07-05 21:13 UTCEG score recompute
  13. 2026-07-05 17:03 UTCEG score recompute
  14. 2026-07-05 12:53 UTCEG score recompute
  15. 2026-07-05 08:41 UTCEG score recompute
  16. 2026-07-05 04:31 UTCEG score recompute
  17. 2026-07-05 02:30 UTCEPSS rescore
  18. 2026-07-05 00:13 UTCEG score recompute
  19. 2026-07-04 19:59 UTCEG score recompute
  20. 2026-07-04 15:49 UTCEG score recompute
  21. 2026-07-04 11:40 UTCEG score recompute
  22. 2026-07-04 07:30 UTCEG score recompute
  23. 2026-07-04 06:31 UTCEPSS rescore
  24. 2026-07-04 02:59 UTCEG score recompute
  25. 2026-07-03 22:41 UTCEG score recompute
Show 62 more
  1. 2026-07-03 18:31 UTCEG score recompute
  2. 2026-07-03 14:20 UTCEG score recompute
  3. 2026-07-03 10:10 UTCEG score recompute
  4. 2026-07-03 06:00 UTCEG score recompute
  5. 2026-07-03 01:49 UTCEG score recompute
  6. 2026-07-02 21:39 UTCEG score recompute
  7. 2026-07-02 17:29 UTCEG score recompute
  8. 2026-07-02 13:18 UTCEG score recompute
  9. 2026-07-02 09:08 UTCEG score recompute
  10. 2026-07-02 04:59 UTCEG score recompute
  11. 2026-07-02 00:50 UTCEG score recompute
  12. 2026-07-01 20:40 UTCEG score recompute
  13. 2026-07-01 16:30 UTCEG score recompute
  14. 2026-07-01 15:07 UTCEPSS rescore
  15. 2026-07-01 12:18 UTCEG score recompute
  16. 2026-07-01 08:05 UTCEG score recompute
  17. 2026-07-01 03:55 UTCEG score recompute
  18. 2026-06-30 23:46 UTCEG score recompute
  19. 2026-06-30 23:22 UTCEPSS rescore
  20. 2026-06-30 19:21 UTCEG score recompute
  21. 2026-06-30 15:11 UTCEG score recompute
  22. 2026-06-30 10:57 UTCEG score recompute
  23. 2026-06-30 06:42 UTCEG score recompute
  24. 2026-06-30 02:33 UTCEG score recompute
  25. 2026-06-29 22:23 UTCEG score recompute
  26. 2026-06-29 18:14 UTCEG score recompute
  27. 2026-06-29 14:06 UTCEPSS rescore
  28. 2026-06-29 14:06 UTCEPSS rescore
  29. 2026-06-29 13:56 UTCEG score recompute
  30. 2026-06-29 09:46 UTCEG score recompute
  31. 2026-06-29 05:37 UTCEG score recompute
  32. 2026-06-29 01:26 UTCEG score recompute
  33. 2026-06-28 21:17 UTCEG score recompute
  34. 2026-06-28 17:07 UTCEG score recompute
  35. 2026-06-28 14:07 UTCEPSS rescore
  36. 2026-06-28 12:57 UTCEG score recompute
  37. 2026-06-28 08:47 UTCEG score recompute
  38. 2026-06-28 04:56 UTCEPSS rescore
  39. 2026-06-28 04:56 UTCEPSS rescore
  40. 2026-06-28 04:38 UTCEG score recompute
  41. 2026-06-28 00:29 UTCEG score recompute
  42. 2026-06-27 20:20 UTCEG score recompute
  43. 2026-06-27 16:11 UTCEG score recompute
  44. 2026-06-27 12:01 UTCEG score recompute
  45. 2026-06-27 07:52 UTCEG score recompute
  46. 2026-06-27 03:42 UTCEG score recompute
  47. 2026-06-27 03:08 UTCEPSS rescore
  48. 2026-06-26 23:33 UTCEG score recompute
  49. 2026-06-26 19:23 UTCEG score recompute
  50. 2026-06-26 15:14 UTCEG score recompute
  51. 2026-06-26 11:05 UTCEG score recompute
  52. 2026-06-26 03:12 UTCEG score recompute
  53. 2026-06-25 23:03 UTCEG score recompute
  54. 2026-06-25 18:54 UTCEG score recompute
  55. 2026-06-25 14:44 UTCEG score recompute
  56. 2026-06-25 13:49 UTCEPSS rescore
  57. 2026-06-25 10:33 UTCEG score recompute
  58. 2026-06-25 06:24 UTCEG score recompute
  59. 2026-06-25 02:14 UTCEG score recompute
  60. 2026-06-24 22:04 UTCEG score recompute 9.00
  61. 2026-06-24 22:03 UTCNVD updateCVSS v3 → 9 · CVSS v4 → 9
  62. 2026-06-23 17:22 UTCEG score recompute

Frequently asked(5)

What is CVE-2026-52811?
CVE-2026-52811 is a critical vulnerability published on June 23, 2026. 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 —…
When was CVE-2026-52811 disclosed?
CVE-2026-52811 was first published in the National Vulnerability Database on June 23, 2026, with the most recent update on June 26, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-52811 actively exploited?
CVE-2026-52811 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 37.6% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-52811?
CVE-2026-52811 has a CVSS v3 base score of 9.0 (NVD).
How do I remediate CVE-2026-52811?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-52811, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-52811

Explore →

Is Your Infrastructure Affected by CVE-2026-52811?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.