CVE-2026-60004: Gitea Code Injection Vulnerability
Vulnerability summary
CVE-2026-60004 is a critical (CVSS 9.8) Code Injection vulnerability in Gitea. It is known to be exploited: CISA lists it, first on 25-08-2026. EPSS estimates a 23.99% chance of exploitation in the next 30 days, higher than 97.8% of scored vulnerabilities. 2 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 3 · Related 4Timeline
- 25-08-2026Added to CISA KEVGitea Code Injection Vulnerability
- 26-08-2026PublishedVulnerability first disclosed.
- 28-08-2026CISA remediation dueApply mitigations per vendor instructions.
- 08-09-2026Last modifiedVulnerability information updated.
Description
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · GoEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
23.99%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
-62.79 pp
From 86.78% on 18-09-2026
Known exploited
Compare KEV catalogs- Added
- 25-08-2026
- Federal due date
- 28-08-2026
CISA 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. github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m nvd.nist.gov/vuln/detail/CVE-2026-60004
Public exploits
2 foundGitea
Maturity: poc
Cve 2026 60004
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard2 products
- gitea< 1.27.1-r0
- gitea-fips< 1.27.1-r0
Code.gitea.io1 product
- gitea≥ 1.17.0 (No fix recorded)
Gitea1 product
- gitea≥ 1.17, < 1.27.1 | ≥ 1.17.0, < 1.27.1
Go1 product
- gitea.dev≥ 1.17.0, < 1.27.1 | < 1.27.1
Wolfi1 product
- gitea< 1.27.1-r0
5 vendors · 6 products
References
15 links- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004Government ResourceWEBUS Government Resource