MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-52795WID-SEC-W-2026-2013:CVE-2026-52795

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

Not on CISA KEVCVSS 4.3 (v3.1)
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • BSI CERT-Bund Source: BSI CERT-Bund
  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)