CVE-2026-60004
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Gitea Code Injection Vulnerability.
- Added
- 25 Aug 2026
- Fix due (US federal)
- 28 Aug 2026
- Used by ransomware
- Not known
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| mitreCNA (assigner) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 24.0% · top 2.2% of all CVEs (5 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogitea.devGHSA-rcr6-4jqh-j84m (opens in a new tab)
References (5)
- https://blog.gitea.com/release-of-1.27.1/ (opens in a new tab)
- https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m (opens in a new tab)
- https://www.runzero.com/blog/gitea/ (opens in a new tab)
- https://github.com/0xBlackash/CVE-2026-60004 (opens in a new tab)
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-rcr6-4jqh-j84m (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-60004)Record last updated .