Gitea Code Injection Vulnerability. CISA added it to its list of flaws being exploited in the wild on 25 Aug 2026.
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, Known Exploited Vulnerabilities catalog
The software can be made to run code supplied by the attacker, which usually means full control of the application.
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.
If you run Gitea, treat this as urgent: attackers are already using it. If you're not sure whether you run it anywhere, start there.
Yes. CISA added CVE-2026-60004 (Gitea) to its Known Exploited Vulnerabilities catalog on 25 Aug 2026, which means there is reliable evidence attackers are using it.
CISA does not currently mark CVE-2026-60004 as used in ransomware campaigns. That can change, and it is still being exploited.
US federal agencies had to fix it by 28 Aug 2026 under CISA's Binding Operational Directive 22-01. Everyone else should treat that date as a guide: the flaw is already being used.
FIRST's EPSS model puts the chance of exploitation in the next 30 days at 99%, higher than 99% of all scored vulnerabilities (scored 2026-12-04).
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. If you're not sure whether you run Gitea anywhere, find out first: an up-to-date inventory is the first step.
Flaws like this are found by testing, not by waiting. Read the difference between a vulnerability scan and a pen test, what a pen test costs, or see AvalonX plans.