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
No history.
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')
