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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-25229— Gogs Authorization Bypass Allows Cross-Repository Label Modification

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及之前版本存在访问控制错误漏洞,该漏洞源于访问控制不当,可能导致跨仓库标签篡改攻击。

AI Predicted 6.5 Difficulty: Easy EPSS 0.26% · P17
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-25229

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 Authorization Bypass Allows Cross-Repository Label Modification
Source: CVE Program / CVE List V5
Vulnerability Description
Gogs is an open source self-hosted Git service. Versions 0.13.4 and below have a broken access control vulnerability which allows authenticated users with write access to any repository to modify labels belonging to other repositories. The UpdateLabel function in the Web UI (internal/route/repo/issue.go) fails to verify that the label being modified belongs to the repository specified in the URL path, enabling cross-repository label tampering attacks. The vulnerability exists in the Web UI's label update endpoint POST /:username/:reponame/labels/edit. The handler function UpdateLabel uses an incorrect database query function that bypasses repository ownership validation. This issue has been fixed in version 0.14.1.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/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及之前版本存在访问控制错误漏洞,该漏洞源于访问控制不当,可能导致跨仓库标签篡改攻击。
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.1 -

II. Public POCs for CVE-2026-25229

# 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-25229

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

Vendor Advisories for CVE-2026-25229 (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-25120 Gogs Allows Cross-Repository Comment Deletion via DeleteComment

IV. Related Vulnerabilities

V. Comments for CVE-2026-25229

No comments yet


Leave a comment