Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
References
| Link | Resource |
|---|---|
| https://blog.gitea.com/release-of-1.27.1/ | Release Notes |
| https://github.com/0xBlackash/CVE-2026-60004 | Exploit Mitigation Third Party Advisory |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m | Exploit Vendor Advisory |
| https://www.runzero.com/blog/gitea/ | Third Party Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004 | US Government Resource |
Configurations
History
27 Aug 2026, 11:41
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:* | |
| First Time |
Gitea gitea
Gitea |
|
| References | () https://blog.gitea.com/release-of-1.27.1/ - Release Notes | |
| References | () https://github.com/0xBlackash/CVE-2026-60004 - Exploit, Mitigation, Third Party Advisory | |
| References | () https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m - Exploit, Vendor Advisory | |
| References | () https://www.runzero.com/blog/gitea/ - Third Party Advisory | |
| References | () https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004 - US Government Resource |
26 Aug 2026, 21:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
26 Aug 2026, 20:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-08-26 20:17
Updated : 2026-08-27 11:41
NVD link : CVE-2026-60004
Mitre link : CVE-2026-60004
CVE.ORG link : CVE-2026-60004
JSON object : View
Products Affected
gitea
- gitea
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
