CVE-2026-25120

Low

Description

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.

SeverityLow
CVSS2.7
Exploit probability—
ProductGogs
PublishedFeb 19, 2026
First seenFeb 19, 2026

How to fix

Update
  • gogs gogs0.14.0 or later
  • gogs.io/gogs0.14.0 or later

Affected products

ProductAffected versionsFixed in
gogs gogsv < 0.14.00.14.0
gogs.io/gogsGov < 0.14.0, No range specified0.14.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.