CVE-2026-60004
Gitea Code Injection Vulnerability
Does this matter?
Known to be exploited in the wild (CISA KEV, CISA remediation deadline 28 August 2026). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.
Description
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 86.78% probability · 100th percentile
- CISA KEV
- Listed 25 August 2026 · due 28 August 2026
- Weakness
- CWE-94
- Affected
- gitea/gitea
- Source
- cve@mitre.org
CISA notes
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. https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2026-60004
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.