Zero Day MonitorZDM
DashboardVulnerabilitiesTrendingZero-DaysNewsAbout
Login
ImpressumPrivacy Policy
Zero Day Monitor © 2026
4355 articles · 196337 vulns · 36/41 feeds (7d)
← Back to list
4.3
CVE-2026-52795PATCHED
gogs · gogs

Gogs: Authorization Bypass in Watch API allows any user to monitor private repository activity

Description

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.

Affected Products

VendorProductVersions
gogsgogs<= 0.14.3, 0.14.2, 0.15.0+dev

References

  • https://github.com/gogs/gogs/security/advisories/GHSA-v8w7-f6gc-cqc2(x_refsource_CONFIRM)
  • https://github.com/gogs/gogs/commit/d61caa3676fde060d0c03ccf815851dddc7c67e0(x_refsource_MISC)

Related News (2 articles)

Tier C
VulDB60d ago
CVE-2026-52795 | Gogs up to 0.14.3 Access checkWatch API repoCtx.ViewerCanRead authorization (GHSA-v8w7-f6gc-cqc2)
→ No new info (linked only)
Tier B
BSI Advisories65d ago
[NEU] [kritisch] Gogs: Mehrere Schwachstellen
→ No new info (linked only)
CVSS 3.14.3 MEDIUM
VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CISA KEV❌ No
Actively exploited❌ No
Patch available
0.14.3
CWECWE-863
PublishedJun 24, 2026
Last enriched60d agov2
Tags
code executionremoteauthenticatedcriticalzero-dayargument injection
Trending Score0
Source articles2
Independent2
Info Completeness10/14
Missing: epss, kev, exploit, mitre_attack

Community Vote

0
Login to vote
0 upvotes0 downvotes
No votes yet

Related CVEs (5)

CRITICALCVE-2026-52813EXPKEV
Gogs: Path Traversal in organization name results in RCE through Git hooks
Trending: 82
HIGHCVE-2026-52810
Gogs: Write to readonly repositories using receive-pack + service=git-upload-pack confusion
Trending: 33
HIGHCVE-2026-52805EXP
Gogs: Migration Redirect Bypass Leads to Internal Repository Theft
CRITICALCVE-2026-52806EXPKEV
Gogs: RCE via git rebase --exec argument injection in pull request merge
HIGHCVE-2026-25119
Gogs: Authentication Bypass via Unvalidated Reverse Proxy Headers

Pin to Dashboard

Verification

State: unverified
Confidence: 0%

Vulnerability Timeline

CVE Published
Jun 24, 2026
Discovered by ZDM
Jun 24, 2026
Updated: severity
Jun 25, 2026
Patch Available
Jun 25, 2026

Version History

v2
Last enriched 60d ago
v2Tier C60d ago

Updated severity to HIGH, noted that no exploit exists, and clarified that the patch is recommended but not specified.

severity
via VulDB
v160d ago

Initial creation