Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
gogs gogs
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Gogs(Go Git Service)是Gogs团队的一个基于Go语言的自助Git托管服务,它支持创建、迁移公开/私有仓库,添加、删除仓库协作者等。 Gogs 0.13.4及之前版本存在安全漏洞,该漏洞源于DeleteComment API未验证评论所属的仓库,可能导致绕过授权控制并删除任意仓库的评论。

AI Predicted 8.1 Difficulty: Easy EPSS 0.28% · P19

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-25120

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Gogs Allows Cross-Repository Comment Deletion via DeleteComment
Source: CVE Program / CVE List V5
Vulnerability 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: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
通过用户控制密钥绕过授权机制
Source: CVE Program / CVE List V5
Vulnerability Title
Gogs 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Gogs(Go Git Service)是Gogs团队的一个基于Go语言的自助Git托管服务,它支持创建、迁移公开/私有仓库,添加、删除仓库协作者等。 Gogs 0.13.4及之前版本存在安全漏洞,该漏洞源于DeleteComment API未验证评论所属的仓库,可能导致绕过授权控制并删除任意仓库的评论。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
gogs gogs < 0.14.0 -

II. Public POCs for CVE-2026-25120

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-25120

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-25120 (1)

Same Patch Batch · gogs · 2026-02-19 · 4 CVEs total

CVE-2026-25242 Gogs allows unauthenticated file uploads
CVE-2026-25232 Gogs has a Protected Branch Deletion Bypass in Web Interface
CVE-2026-25229 Gogs Authorization Bypass Allows Cross-Repository Label Modification

IV. Related Vulnerabilities

V. Comments for CVE-2026-25120

No comments yet


Leave a comment