Actively exploited · CISA KEV · NVD published 2026-08-26
Actively exploitedCVE-2026-60004
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
- First PoC
- 27 days →KEV
Signals
- Exploited in the wild
- Yesadded 2026-08-25 · due 2026-08-28. An observation, not a forecast.
- EPSS · 30-day forecast
- 24%Chance of exploitation in the next 30 days, 98th percentile of all CVEs. A forecast; KEV outranks it.
- CVSS · NVD · CRITICAL
- 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Internet exposure
- not stated by sourcesNo exposure census on this CVE's dispatches.
Exploits
12 known · links onlyGitHub PoCs · by trust, then stars11
- imbas007/CVE-2026-60004-POC ↗Trust ok 100
CVE-2026-60004 Pre-Auth RCE Exploit — Gitea <= 1.27.0 diffpatch git hook injection (CVSS 9.8)
★ 17 · created 2026-08-03
- 0xBlackash/CVE-2026-60004 ↗Trust ok 100
CVE-2026-60004
★ 6 · created 2026-07-30
- HORKimhab/CVE-2026-60004 ↗Trust ok 100
CVE-2026-60004
★ 5 · created 2026-07-29
- gagaltotal/CVE-2026-60004-poc-gitea ↗Trust ok 100
CVE-2026-60004 — Gitea Pre-Auth RCE via diffpatch hook injection
★ 2 · created 2026-08-08
- HackSpeak/CVE-2026-60004 ↗Trust ok 100
Gitea diffpatch RCE (CVE-2026-60004) PoC - repo-write to RCE as Gitea service account
★ 2 · created 2026-08-04
- EQSTLab/CVE-2026-60004 ↗Trust ok 100
Gitea diffpatch RCE
★ 1 · created 2026-07-30
- yym8538/CVE-2026-60004 ↗Trust ok 100
★ 1 · created 2026-08-21
- erberkan/CVE-2026-60004-PoC ↗Trust ok 100
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
★ 0 · created 2026-09-14
- fevar54/cve-2026-60004 ↗Trust ok 100
CVE-2026-60004 es una vulnerabilidad crítica (CVSS 9.8) en Gitea que permite ejecución remota de código sin autenticación mediante el endpoint `/api/v1/repos/{owner}/{repo}/diffpatch`.
★ 0 · created 2026-08-25
- Sachinart/CVE-2026-60004-gitea-0day ↗Trust ok 100
CVE-2026-60004 — Gitea <= 1.27.0 Pre-Auth RCE
★ 0 · created 2026-08-04
- shinthink/CVE-2026-60004 ↗Trust ok 100
CVE-2026-60004 — Gitea/Forgejo Diffpatch Git Hook RCE. Bare clone → post-index-change hook injection. CVSS 9.8 | CWE-94 | Gitea < 1.27.1
★ 0 · created 2026-08-03
Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.
Nuclei1
Gitea versions 1.17 through 1.27.0 contain a remote code execution vulnerability in the diffpatch endpoint caused by an add/add collision that writes an executable Git hook into the bare repository's GIT_DIR. An attacker with write access can execute arbitrary commands as the Gitea service account, exploit requires only open registration for unauthenticated access.
yaml · seen 2026-10-18
On the wire
1 dispatchWatch this one?
KEV additions reach Telegram and the KEV-only RSS as they land.
Check your stack
Paste what you run: the CVEs exploited in the wild against it, and who is cited as exploiting them, with the report.
Stack checkNo key. No signup.