KEV catalog · CISA Known Exploited Vulnerabilities
CVE-2026-60004
9.8
Details
Descriptions
KEV: Gitea contains a code injection vulnerability that allows an attacker with repository write access to send a malicious patch to the diffpatch API endpoint to plant an executable Git hook and run shell commands as the Gitea service account.
Compliance SSVC + BOD 26-04
Research metadata
https://github.com/EQSTLab/CVE-2026-60004
https://github.com/imbas007/CVE-2026-60004-POC
https://github.com/shinthink/CVE-2026-60004
https://thehackernews.com/2026/07/new-gitea-rce-lets-repository-writers.html
https://securityonline.info/gitea-rce-cve-2026-60004/
https://www.cycognito.com/blog/emerging-threat-cve-2026-60004-gitea-remote-code-execution-via-diffpatch-git-hooks/
QC notes
Hunting hypothesis agent
Hunt for POST requests to the /diffpatch API endpoint from new Gitea accounts, then look for hooks/post-index-change files in repository dirs and unexpected Git fetches returning branch data from the Gitea service account.
Research details
https://github.com/EQSTLab/CVE-2026-60004
https://github.com/imbas007/CVE-2026-60004-POC
https://github.com/shinthink/CVE-2026-60004 Third-party repos; verify before use.
Tia coverage
When Tia's reporting first covered this CVE and whether a report claimed exploitation before the KEV listing. Lead-time deltas are measured from the exploitation report only — plain coverage is not exploitation intel. See the story links under Mentioned in for coverage detail.
Mentioned in
red-heron-hackers-exploit-critical-gitea-rce-to-steal-source-cod
Record schema v1.0. Enrichment is research-grade, not a substitute for analyst review.