Gogs is an open source self-hosted Git service. In 0.14.3 and earlier, any authenticated user can watch a private repository they have no access to, because the access check in the Watch API handler is inverted. The code checks if repoCtx.ViewerCanRead() (returns 404 when the user CAN read) instead of if !repoCtx.ViewerCanRead() (return 404 when the user CANNOT read). Once watching, the attacker's dashboard activity feed shows commit messages, branch names, issue titles, and PR details from the private repository. If email notifications are enabled, the attacker also receives emails containing issue and comment content.
CVE-2026-52795
This medium-severity CVE scores 4.3 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2%, top 94% 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).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 4.3
- EG Score
- 4.3(medium)
- EPSS
- 6.4%
- KEV
- Not listed
Published
June 24, 2026
Last Modified
June 25, 2026
Advisory Details (2)
Auto-updated Jun 24, 2026Authorization Bypass in Watch API allows any user to monitor private repository activity · Advisory · gogs/gogs · GitHub
https://github.com/gogs/gogs/security/advisories/GHSA-v8w7-f6gc-cqc2commit d61caa3676fd (gogs/gogs)
Fix landed in gogs/gogs commit d61caa3676fd — awaiting tagged release
https://github.com/gogs/gogs/commit/d61caa3676fde060d0c03ccf815851dddc7c67e0Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 20× in last 7d / 52× 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-15 02:00 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 00:13 UTCEG score recompute
- 2026-07-14 02:11 UTCEG score recompute
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 04:19 UTCEG score recompute
- 2026-07-12 06:25 UTCEG score recompute
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:24 UTCEG score recompute
- 2026-07-10 10:30 UTCEG score recompute
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 12:37 UTCEG score recompute
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 14:44 UTCEG score recompute
- 2026-07-07 16:52 UTCEG score recompute
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 18:39 UTCEG score recompute
- 2026-07-06 16:27 UTCEPSS rescore
Show 27 moreShow fewer
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 20:40 UTCEG score recompute
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 22:47 UTCEG score recompute
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 00:53 UTCEG score recompute
- 2026-07-03 03:01 UTCEG score recompute
- 2026-07-02 05:07 UTCEG score recompute
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 07:15 UTCEG score recompute
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 09:22 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 11:30 UTCEG score recompute
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 13:37 UTCEG score recompute
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 15:43 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 17:50 UTCEG score recompute
- 2026-06-25 19:56 UTCEG score recompute
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 22:03 UTCEG score recompute
- 2026-06-24 22:03 UTCNVD updatefirst tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-863
Frequently asked(5)
What is CVE-2026-52795?
When was CVE-2026-52795 disclosed?
Is CVE-2026-52795 actively exploited?
What is the CVSS score of CVE-2026-52795?
How do I remediate CVE-2026-52795?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-52795
Is Your Infrastructure Affected by CVE-2026-52795?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.