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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

EPSS 0.02% · P4
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
通过用户控制密钥绕过授权机制
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
gogsgogs < 0.14.0 -

II. Public POCs for CVE-2026-25120

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-25120

登录查看更多情报信息。

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

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-25120

No comments yet


Leave a comment