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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-23632— Gogs user can update repository content with read-only permission

CVSS 6.5 · Medium EPSS 0.02% · P5
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-23632

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 user can update repository content with read-only permission
Source: NVD (National Vulnerability Database)
Vulnerability Description
Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, the endpoint "PUT /repos/:owner/:repo/contents/*" does not require write permissions and allows access with read permission only via repoAssignment(). After passing the permission check, PutContents() invokes UpdateRepoFile(), which results in commit creation and the execution of git push. As a result, a token with read-only permission can be used to modify repository contents. This issue has been patched in versions 0.13.4 and 0.14.0+dev.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
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.3及之前版本存在安全漏洞,该漏洞源于端点PUT /repos/:owner/:repo/contents/*权限检查不当,可能导致使用只读令牌修改仓库内容。
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+dev -

II. Public POCs for CVE-2026-23632

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-23632

登录查看更多情报信息。

Same Patch Batch · gogs · 2026-02-06 · 6 CVEs total

CVE-2026-225926.5 MEDIUMGogs is Vulnerable to Denial of Service
CVE-2026-236336.5 MEDIUMGogs has arbitrary file read/write via path traversal in Git hook editing
CVE-2026-24135Gogs vulnerable to arbitrary file deletion via path traversal in wiki page update
CVE-2025-64175Gogs Vulnerable to 2FA Bypass via Recovery Code
CVE-2025-64111Gogs's update .git/config file allows remote command execution

IV. Related Vulnerabilities

V. Comments for CVE-2026-23632

No comments yet


Leave a comment