Gitea Code Injection Vulnerability (CVE-2026-60004)
Severity: critical · Patch status: unknown · Since 2026-08-25 · CVE-2026-60004
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. CISA added CVE-2026-60004 to its Known Exploited Vulnerabilities catalog on Aug 25, 2026, which means attackers are exploiting it in the wild.
What to do
- 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 by Aug 28, 2026 (BOD 22-01); treat that as the outer limit.
Sources
All live incidents on Threat Watch