Go Vulnerability Database
GO-2026-6433
Gitea: Remote Code Execution via diffpatch Git Hook Installation in gitea.dev
Details
Gitea: Remote Code Execution via diffpatch Git Hook Installation in gitea.dev
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | code.gitea.io/gitea | From 1.17.0, no fix listed |
| Go | gitea.dev | All versions before 1.27.1 (fixed in 1.27.1) |
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m
- https://nvd.nist.gov/vuln/detail/CVE-2026-60004
- https://blog.gitea.com/release-of-1.27.1
- https://github.com/0xBlackash/CVE-2026-60004
- https://github.com/go-gitea/gitea/commit/470d34b1de87d901bd9135564d5ee18c0d339e82
- https://github.com/go-gitea/gitea/commit/d7bc52beeadff4be5f5690de4d5de42abd10affe
- https://github.com/go-gitea/gitea/pull/38637
- https://github.com/go-gitea/gitea/pull/38638
- https://github.com/go-gitea/gitea/releases/tag/v1.27.1
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004
- https://www.runzero.com/blog/gitea