Description
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | >= 1.17, < 1.27.1 |
References
- https://blog.gitea.com/release-of-1.27.1/Release Notes
- https://github.com/0xBlackash/CVE-2026-60004Exploit, Mitigation, Third Party Advisory
- https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84mExploit, Vendor Advisory
- https://www.runzero.com/blog/gitea/Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004US Government Resource
Timeline
- Published
- Aug 26, 2026
- Last modified
- Aug 27, 2026
- Added to CISA KEV
- Aug 25, 2026
- NVD status
- Analyzed