CVE-2026-60004: Gitea Code Injection
Gitea · listed in the CISA catalog of actively exploited vulnerabilities since 2026-08-25.
- CVSS v3.1 (CVE record)
- 9.8
- critical
- EPSS (exploit probability, 30 days)
- 24%
- higher than 97.8% of all CVEs
- Added to CISA KEV
- 2026-08-25
- US federal due date 2026-08-28
- Automatable (CISA SSVC)
- yes
- technical impact: total
What is CVE-2026-60004?
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
CISA required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk guidance and CISA’s “Forensics Triage Requirements”. 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 notes
Affected and fixed versions
From the CVE record published by the vendor or CVE numbering authority.
- GiteaAffectedFixed in
- ≥ 1.17, < 1.27.1
- 1.27.1
| Product | Affected | Fixed in |
|---|---|---|
| Gitea |
|
|
How to fix it
- Update to a fixed version: 1.27.1.
- Vendor advisory: blog.gitea.com/release-of-1.27.1
- CISA's deadline for US federal agencies: 2026-08-28 (passed) – a useful benchmark for everyone else, too.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- Yes – attackers can automate it at scale
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-94 Improper Control of Generation of Code ('Code Injection')
References
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.