CVE-2026-60004 in Gitea
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.
CISA listing
- Vendor
- Gitea
- Product
- Gitea
- CISA name
- Gitea Code Injection Vulnerability
- Listed by CISA
- 2026-08-25
- Ransomware use
- Not known to be used in ransomware campaigns
- EPSS
- 24.0% as of 2026-11-18
What the probe looks like in your access log
Sample access log line. Demo data.
203.0.113.7 - - [19/Nov/2026:09:14:02 +0000] "POST /api/v1/user/repos HTTP/1.1" 404 153Search your log for the method and path
grep -Fi '"POST /api/v1/user/repos' access.logPatch the CVE. camada finds and blocks the clients probing for it, from the next review on. If you run Gitea, requests to this path can be normal, so check your version against the advisory.