5.1

CVE-2026-25120: Gogs Allows Cross-Repository Comment Deletion via DeleteComment

Analyzed
AliasesGHSA-jj5m-h57j-5gv7GO-2026-4501
Published 19-02-2026Last modified 19-02-2026

Vulnerability summary

CVE-2026-25120 is a medium (CVSS 5.1) vulnerability in gogs. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 23.4% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 5.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.1/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.30%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 19-02-2026
    PublishedVulnerability first disclosed.
  2. 19-02-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.30%

Chance of exploitation in the next 30 days

Percentile

23%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.28% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Gogs

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Gogs1 product
Gogs.io1 product
  • gogs< 0.14.0 | All versions (No fix recorded)

2 vendors · 2 products

References

4 links