CVE
CVE-2026-60004
published critical CVSS 3.1 · 9.8Gitea vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | Gitea1.17 to < 1.27.1 · Other versions: unaffected | Affected | Not stated | mitre |
| Alpine Linux | edge | gitea | Fixed | 1.27.1-r0 | Package fix record |
| Alpine Linux | v3.24 | forgejo | Fixed | 15.0.6-r0 | Package fix record |
Description
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 1.17 to < 1.27.1 (affected · custom)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
5Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 38608512bea729a720bd59143189cf31842a340530935ca5f5e2c5ba647da4f1
- Ingested
- 23 Sep 2026, 09:23:35 UTC
- Source record
- Official CVE record