01 Record
CVE-2026-60004
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
CriticalKEVPUBLISHEDCNA: mitre
CNA base score9.8 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
02 Description
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
03 Exploitation and scoring
- Exploitation
- Exploited in the wild. Listed in the CISA Known Exploited Vulnerabilities catalog on 2026-08-25. Federal remediation due 2026-08-28.
- SSVC decision
- ExploitationactiveCISA reports credible evidence of active exploitation.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 23.98% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 97.7% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-08-27.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2026-08-26 19:45Z2 MO AGO
- Last updated
- 2026-09-08 18:03Z1 MO AGO
- Reserved
- 2026-07-08
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Critical (CVSS 9.8)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94Improper Control of Generation of Code ('Code Injection')Base
- Data version
- 5.2
- Document digest
- 9401e1850ca93c1a1c83e8223256bdaabace5625120c86f0c5adc2279a6dd660
05 Affected products
VendorProductVersionsPlatforms
06 References
- blog.gitea.comhttps://blog.gitea.com/release-of-1.27.1/
- github.comhttps://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m
- www.runzero.comhttps://www.runzero.com/blog/gitea/
- github.comhttps://github.com/0xBlackash/CVE-2026-60004
- www.cisa.govhttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004