Skip to main content
← All vulnerabilities
CVE-2026-25120GO-2026-4501GHSA-JJ5M-H57J-5GV7

Gogs Allows Cross-Repository Comment Deletion via DeleteComment

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.14.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Gogs is an open source self-hosted Git service. In versions 0.13.4 and below, the DeleteComment API does not verify that the comment belongs to the repository specified in the URL. This allows a repository administrator to delete comments from any other repository by supplying arbitrary comment IDs, bypassing authorization controls. The DeleteComment function retrieves a comment by ID without verifying repository ownership and the Database function DeleteCommentByID performs no repository validation. This issue has been fixed in version 0.14.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gogs gogs

    fixed in 0.14.0

  • gogs.io/gogsGo

    All versions

  • gogs.io/gogsGo

    fixed in 0.14.0

References 2

GitHub · gogs/gogs