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.
Fix
apply the vendor fix or mitigation
Why this tier
Known exploited (CISA KEV) and CISA requires forensic triage: patch and check for compromise.
Apply the vendor fix. CISA's required action: Apply mitigations in accordance with vendor instructions.Vendor advisory
Using distro packages? Distros backport fixes under their own version numbers. Check your distro's status for CVE-2026-60004:Debian · Ubuntu · Red Hat · Alpine
CISA requires forensic triage for this one: patching is not enough, look for signs of compromise on exposed systems.
Deadline: CISA's federal due date is 2026-08-28. Treat it as the latest reasonable date for everyone else.