CVE-2026-60004
CVE-2026-60004 is a critical-severity vulnerability (CVSS 3.1 base score 9.8). 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 added it to the Known Exploited Vulnerabilities catalog on 2026-08-25, with a remediation due date of 2026-08-28 for US federal civilian agencies. As of 2026-11-16, EPSS estimates a 24.0% probability of exploitation in the next 30 days, in the 97th percentile of scored CVEs.
Updated
- CVSS 3.1
- 9.8 CRITICAL
- EPSS
- 24.0% (97th pct)
- CISA KEV
- Exploited
- Published
- 2026-08-26
- Weakness
- CWE-94
Gitea Code Injection Vulnerability is confirmed as actively exploited and is listed in the CISA KEV catalog.
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.
CISA notes
https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2026-60004
Description
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
Key Findings
as of 2026-11-16- CISA added CVE-2026-60004 to the KEV catalog 1 day before its CVE record was published. The median for entries added in 2026 so far is 12 days.
- Its current EPSS score (24.0%) is higher than that of 36% of CISA KEV entries.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator Affected Products
| Vendor | Product | Affected versions |
|---|---|---|
| Gitea | Gitea Gitea | 1.17 to <1.27.1 |
References
4 linksRecord Details
- Published
- 2026-08-26
- Last updated
- 2026-09-08
- Assigner (CNA)
- mitre
- Credited to
- -
More from Gitea
CVE record data © The MITRE Corporation, used under the CVE Terms of Use. Exploited-in-the-wild data from the CISA Known Exploited Vulnerabilities catalog (CC0). Exploit prediction scores by FIRST EPSS (first.org/epss). Alert titles and links from CISA cybersecurity alerts. This site is not affiliated with or endorsed by MITRE, NVD, CISA, or FIRST.