CVE entry · CVE-2026-60004
CVE-2026-60004: Gitea Code Injection Vulnerability
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.
- Actively exploited: added to CISA’s KEV catalog on August 25, 2026.
- Use by ransomware: not established so far.
- Remediation deadline for US federal agencies: August 28, 2026.
Description from CISA’s KEV catalog.
What to do
- Check whether your estate includes Gitea, including internet-facing devices.
- Apply the vendor’s patch or mitigations (references below). Failing that, isolate the product or stop using it, as CISA requires of US federal agencies.
- An exploited vulnerability has often been used before it was fixed: look for signs of compromise, especially on internet-facing devices.