[ CVE-2026-60004 · Published 26 Aug 2026 ]
Gitea Code Injection Vulnerability
[ Why it matters ]Priority signals
- Exploited in the wild: on CISA's Known Exploited Vulnerabilities list since 2026-08-25
- EPSS: 24% chance of exploitation in the next 30 days (higher than 98% of CVEs)
- Critical severity: CVSS 9.8
[ Description ]Official description
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
CISA: Gitea contains a code injection vulnerability that allows an attacker with repository write access to send a malicious patch to the diffpatch API endpoint to plant an executable Git hook and run shell commands as the Gitea service account.
[ Fixes ]Fixes and patches
CISA required action (US federal deadline 28 Aug 2026): Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
No fix or interim patch is linked from our sources yet. Check the vendor references below and limit exposure of affected systems until a fix is available.
[ References ]References
- blog.gitea.com/release-of-1.27.1Release Notes
- github.com/0xBlackash/CVE-2026-60004ExploitMitigationThird Party Advisory
- github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84mExploitVendor Advisory
- www.runzero.com/blog/giteaThird Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalogUS Government Resource