RCE in Gitea
CVE-2026-60004
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.240 (97.8th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 97.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.868 · newest: 0.240 · change: -0.628
Affected products
Weakness classification (CWE)
CISA KEV (Known Exploited Vulnerabilities)
This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.
BOD 22-01 due date: .
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.
Public proof-of-concept exploits
References
- blog.gitea.com/release-of-1.27.1/ (Release Notes)
- github.com/0xBlackash/CVE-2026-60004 (Exploit, Third Party Advisory, Mitigation)
- github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m (Exploit, Vendor Advisory)
- www.runzero.com/blog/gitea/ (Third Party Advisory)
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (US Government Resource)
Frequently asked questions
- What is CVE-2026-60004?
- CVE-2026-60004 is a critical-severity vulnerability in Gitea, classified under Code Injection. CVSS score: 9.8/10. Published 2026-08-26.
- How severe is CVE-2026-60004?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2026-60004 known to be exploited?
- Yes. CVE-2026-60004 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2026-08-25), indicating it is being actively exploited. 13 public proof-of-concept repositories are indexed.