BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-25120 in Gogs

Low 2.7

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.12.7
CVSS v45.1
EPSS0.4%
EPSS percentile25th
FixUnknown

Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Gogs Gogs < 0.14.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-25120
BreachSpider IDBS-2026-GLOBAL-275290-L
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N
Published2026-02-19
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-639: Authorization Bypass Through User-Controlled Key (IDOR)

Software uses a user-supplied key to access resources without verifying authorization for that specific resource.

Analysis AI-written, not human-reviewed

CVE-2026-25120 affects Gogs versions 0.13.4 and below, where the DeleteComment API does not verify that the comment belongs to the repository specified in the URL, allowing unauthorized deletion of comments from any repository.

An attacker with repository administrator privileges can exploit this vulnerability by supplying arbitrary comment IDs to the DeleteComment API, thereby deleting comments from any repository they do not have access to, bypassing authorization controls.

Questions

What is CVE-2026-25120?

CVE-2026-25120 affects Gogs versions 0.13.4 and below, where the DeleteComment API does not verify that the comment belongs to the repository specified in the URL, allowing unauthorized deletion of comments from any repository.

What is the CVSS score for CVE-2026-25120?

CVE-2026-25120 has CVSS 2.7 (Low). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N. EPSS: 0.4%.

Is CVE-2026-25120 actively exploited?

No confirmed active exploitation of CVE-2026-25120 as of 2026-09-25.

How do I remediate CVE-2026-25120?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-25120?

CVE-2026-25120 affects Gogs Gogs.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Gogs","product":"Gogs","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.