CVE-2026-60004 · NVD published 26 Aug 2026
Gitea Gitea
On CISA's KEV list; 15 public exploits.
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
CISA required action (federal due date 28 Aug 2026): 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.
Signals
- KEV, exploited in the wild
- yes, added 25 Aug 2026, due 28 Aug 2026
- EPSS, 30-day forecast
- 99%, 100th percentile (as of 4 Dec 2026)
- CVSS, NVD, CRITICAL
- 9.8
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Internet exposure
- not stated
KEV is an observation, EPSS a forecast; KEV outranks it.
Timeline 29 Jul 2026 to today
- First PoC
- KEV+27 d
- Disclosed+1 d
27 days from the first proof of concept to the KEV listing
Linked 2 in our graph
Exploited by
- toolCoinMiner
- malwareJITTERLY
Links our graph holds for this CVE, strongest first. The same data is in the graph API.
Indicators 7 tied by threat feeds
Addresses, hosts and files that threat feeds tag with this CVE: exploitation sources, payload hosts and what was dropped. Defanged. “In rule” marks the ones strong enough for the indicator sweep above.
- hxxps://casasmediterraneas[.]com//wp-content/plugins/linux[.]binPayload host
url · 1 feed · last seen 27 Nov 2026
- 0f6e757e82c4d91df5bd249f775b9970b59dee42cc0dfe40f879d77fc16821c6Malware file
sha256 · JITTERLY · 2 feeds · last seen 4 Nov 2026
- 0e81d80b40eaacbf6cb1e817fb1824c30a824af5cb4faca4aa9b03fd506d480fMalware file
sha256 · 1 feed · last seen 23 Oct 2026
- 2ff2945b13a4cd0e9a65c85af29ea1539e162a516466c0de682dbf9f8a4000b1Malware file
sha256 · 1 feed · last seen 23 Oct 2026
- 104[.]225[.]153[.]141Exploitation infra
ip · 1 feed · last seen 22 Oct 2026
- 172[.]245[.]247[.]21Exploitation infra
ip · 1 feed · last seen 22 Oct 2026
- hxxps://casasmediterraneas[.]com/wp-content/plugins/linux[.]binPayload host
url · CoinMiner · 1 feed · last seen 21 Oct 2026
On the wire 2 dispatches
Public exploit code 15 known · links only
GitHub PoCs 15Metasploit 0Exploit-DB 0
GitHub PoCs, by trust then stars15
- imbas007/CVE-2026-60004-POCTrust ok 10018 stars
CVE-2026-60004 Pre-Auth RCE Exploit — Gitea <= 1.27.0 diffpatch git hook injection (CVSS 9.8)
created 3 Aug 2026
- 0xBlackash/CVE-2026-60004Trust ok 1006 stars
CVE-2026-60004
created 30 Jul 2026
- 0xredash/CVE-2026-60004Trust ok 1006 stars
CVE-2026-60004
created 30 Jul 2026
- ashrafzaryouh/CVE-2026-60004Trust ok 1006 stars
CVE-2026-60004
created 30 Jul 2026
- HORKimhab/CVE-2026-60004Trust ok 1005 stars
CVE-2026-60004
created 29 Jul 2026
- gagaltotal/CVE-2026-60004-poc-giteaTrust ok 1002 stars
CVE-2026-60004 — Gitea Pre-Auth RCE via diffpatch hook injection
created 8 Aug 2026
- EQSTLab/CVE-2026-60004Trust ok 1001 stars
Gitea diffpatch RCE
created 30 Jul 2026
- yym8538/CVE-2026-60004Trust ok 1001 stars
created 21 Aug 2026
Show 7 more
- erberkan/CVE-2026-60004-PoCTrust ok 1000 stars
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
created 14 Sep 2026
- fevar54/cve-2026-60004Trust ok 1000 stars
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`.
created 25 Aug 2026
- Sachinart/CVE-2026-60004-gitea-0dayTrust ok 1000 stars
CVE-2026-60004 — Gitea <= 1.27.0 Pre-Auth RCE
created 4 Aug 2026
- shinthink/CVE-2026-60004Trust ok 1000 stars
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
created 3 Aug 2026
- HackSpeak/CVE-2026-600042 stars
Caution 75 · 1 flag
- new owner account (new_owner_account)
Gitea diffpatch RCE (CVE-2026-60004) PoC - repo-write to RCE as Gitea service account
created 4 Aug 2026
- basesixtythree/B63-POC-CVE-2026-600040 stars
Caution 65 · 1 flag
- readme lure (readme_lure)
CVE-2026-60004 (Gitea): unauth RCE via diffpatch add/add collision -> live git hook in bare temp clone (KEV) — b63 showcase, lab-verified with patched + unaffected negatives
created 1 Nov 2026
- achrafzaryouh/CVE-2026-60004Not checked6 stars
CVE-2026-60004
created 30 Jul 2026
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.
Nuclei detection templates1
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 · first seen by skopnix 18 Oct 2026
A Nuclei template is a scanner check that detects the flaw. It is not an exploit and is not counted as one.
References
Watch this one?
KEV additions reach Telegram and the KEV-only RSS as they land.