CVE-2026-60004
Gitea Gitea
At a glance
- Source
- NVD
- EPSS
- EPSS 23.99 % · percentile 98 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mitre
- NVD status
- Analyzed
Description
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
Weaknesses (CWE)
- CWE-94 — Improper Control of Generation of Code
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | mitre |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · cve@mitre.org (Secondary) |
Advisories
- GHSA-rcr6-4jqh-j84m — Gitea: Remote Code Execution via diffpatch Git Hook Installation
- GO-2026-6433 — Gitea: Remote Code Execution via diffpatch Git Hook Installation in gitea.dev
European references
- ENISA EUVD · EUVD-2026-66708
- GCVE · GCVE-0-2026-60004
Affected configurations (NVD CPE)
cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*≥ 1.17.0 < 1.27.1
Affected products
| Product | Versions |
|---|---|
| Gitea · Gitea | affected 1.17 < 1.27.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| CISA Known Exploited Vulnerabilities | CC0 1.0 |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |