Read the docs
TI-2026-37905 Aliases CVE-2026-52795

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

Priority MEDIUM 53CWE-863Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
Low · None · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-863.

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

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00281 20th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Gogsgogsup to 0.14.3—No fix listedCNA
  • gogs VendorGogs Affected up to 0.14.3 Fixed in — No fix listed CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*——Gogs
  • cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:* Versions — — ·Gogs

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-52795

References

  • TI-2025-07419 File overwrite in file update API in Gogs KEVCVSS 4.0HIGH 8.7
  • TI-2022-01876 OS Command Injection in gogs/gogs CVSS 3.1CRITICAL 9.8
  • TI-2024-36988 Gogs has a Path Traversal in file update API CVSS 4.0HIGH 8.7
  • TI-2026-37922 Gogs: Path Traversal in organization name results in RCE through Git hooks CVSS 3.1CRITICAL 10.0
  • TI-2022-01744 Remote Command Execution in gogs/gogs CVSS 3.1CRITICAL 10.0
  • TI-2025-39562 Gogs's update .git/config file allows remote command execution CVSS 4.0CRITICAL 9.3
See all 75 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences