Gitea Code Injection Vulnerability
Gitea — Gitea
- EPSS (30-day exploitation probability)
- 24.0% · 97.8th percentile · 23 November 2026
- Added to KEV catalog
- 25 August 2026
- Federal remediation due date
- 28 August 2026
- Weakness classification (CWE)
- CWE-94
Is CVE-2026-60004 actively exploited?
Yes. CISA added CVE-2026-60004 to its Known Exploited Vulnerabilities catalog on 25 August 2026, which means there is evidence it has been exploited in the wild. FIRST's EPSS model estimates a 24.0% probability of exploitation activity in the next 30 days, placing it in the 97.8th percentile of all scored CVEs.
How do I fix CVE-2026-60004?
CISA's required action for CVE-2026-60004 is: 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. US federal agencies must remediate it by 28 August 2026; treat that as an outside deadline, not a target.
CISA Description
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.
Required action
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.
Notes
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
Is this vulnerability present in your environment?
CRS delivers independent VAPT assessments that identify exactly which known-exploited vulnerabilities exist in your network, applications, and infrastructure.
Explore VAPT Services







