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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-64111— Gogs's update .git/config file allows remote command execution

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.3及之前版本存在操作系统命令注入漏洞,该漏洞源于对CVE-2024-56731的补丁不足,仍可能更新.git目录中的文件并实现远程命令执行。

AI Predicted 9.8 Difficulty: Easy EPSS 1.31% · P70

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-64111

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's update .git/config file allows remote command execution
Source: CVE Program / CVE List V5
Vulnerability Description
Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, due to the insufficient patch for CVE-2024-56731, it's still possible to update files in the .git directory and achieve remote command execution. This issue has been patched in versions 0.13.4 and 0.14.0+dev.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
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.3及之前版本存在操作系统命令注入漏洞,该漏洞源于对CVE-2024-56731的补丁不足,仍可能更新.git目录中的文件并实现远程命令执行。
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+dev -

II. Public POCs for CVE-2025-64111

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-64111

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

Vendor Advisories for CVE-2025-64111 (1)

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

CVE-2026-22592 6.5 MEDIUM Gogs is Vulnerable to Denial of Service
CVE-2026-23633 6.5 MEDIUM Gogs has arbitrary file read/write via path traversal in Git hook editing
CVE-2026-23632 6.5 MEDIUM Gogs user can update repository content with read-only permission
CVE-2026-24135 Gogs vulnerable to arbitrary file deletion via path traversal in wiki page update
CVE-2025-64175 Gogs Vulnerable to 2FA Bypass via Recovery Code

IV. Related Vulnerabilities

V. Comments for CVE-2025-64111

No comments yet


Leave a comment