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.
CVE-2026-60004
Gitea: Code Injection. Exploited, and in our Patch now group.
Our patch-first group
Patch now
- Forensic triage required by CISA
CISA's required action
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.
Patch infofixed versions and vendor advice
What to install
Affects Gitea from 1.17 before 1.27.1.
Fixed in 1.27.1.
Vendor advice
Vendor advice: github.com, from CISA's entry.
- EPSS score
- 0.24Higher than 97% of the CVEs EPSS scores.
EPSS estimates the chance of exploitation activity in the next 30 days.
- Exploited
- Yes CISA listed it on 25 August 2026
- US federal deadline
- 28 August 2026 3 days after CISA listed it. US federal civilian agencies must fix it by then.
- Used in ransomware campaigns
- Not known to CISA
- EPSS when listed
- No score that day The EPSS file of the day CISA listed it has no score for it.
- Public exploit
- None found Neither Metasploit nor Exploit-DB lists one.
In software packages
Affected packages
Software packages that the advisories for this CVE name. Each line is what one advisory says, with its id.
Affects code.gitea.io/gitea from 1.17.0 (no end named).
The advisory names no fixed version.
Advisory GO-2026-6433Affects gitea.dev from 1.17.0 before 1.27.1.
Fixed in 1.27.1.
Advisory GHSA-rcr6-4jqh-j84mAffects gitea.dev before 1.27.1.
Fixed in 1.27.1.
Advisory GO-2026-6433
Since listing
EPSS since listing
EPSS for CVE-2026-60004 since CISA listed it, on the days its value to 2 decimals changed. EPSS scores by FIRST.
Show the numbers
| From | EPSS |
|---|---|
| 0.82 | |
| 0.85 | |
| 0.87 | |
| 0.24 |
Timeline
What happened when
- CISA added it to its list of exploited vulnerabilities.
- The CVE record was published.
- The US federal deadline to fix it.
CISA's required action
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.
Agencies must also look for signs that attackers already got in.
Read further: CISA's catalog
The flaw
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
- CISA SSVC, exploitation
- active
- CISA SSVC, automatable
- yes
- CISA SSVC, technical impact
- total
Sources
- CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
- CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
- EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)
- Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
- Package advisories from the Go vulnerability database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0