CVE-2026-60004
Gitea: Code Injection
As of , CVE-2026-60004 in Gitea is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch now.
- Exploited
- Yes: CISA listed it on 25 August 2026
- US federal deadline
- 28 August 20263 days after CISA listed it. US federal civilian agencies must fix it by then.
- Used in ransomware campaigns
- Not known to CISA
- Forensic triage
- Required by CISA under BOD 26-04Agencies must also look for signs that attackers already got in.
- EPSS score
- 0.24Higher than 97% of the CVEs EPSS scores. EPSS estimates the chance of exploitation activity in the next 30 days.
- Public exploit
- None foundNeither Metasploit nor Exploit-DB lists one.
- Fix
- Vendor advice: github.comLinks below, from CISA's entry.
What CISA says 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.
CISA's required action
What the flaw is
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's description
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
The CVE record's description, from mitre
- CVE published
- 26 August 2026
- Assigned by
- mitre
- CVSS
- 9.8 Critical (CVSS 3.1, from the CNA)
- CWE-94
- Improper Control of Generation of Code ('Code Injection')
- CISA SSVC, exploitation
- active
- CISA SSVC, automatable
- yes
- CISA SSVC, technical impact
- total
Timeline
- CISA added it to its list of exploited vulnerabilities.
- The CVE record was published.
- The US federal deadline to fix it.
Read further
- CVE recordcve.org
- NVD entrynvd.nist.gov
- CISA's catalogcisa.gov
- EPSS for this CVEapi.first.org