CVE-2026-60004: Gitea Code Injection Vulnerability
Actively exploited. At least one CVE in this advisory is listed in the CISA Known Exploited Vulnerabilities catalog — exploitation has been observed in the wild. Treat remediation as urgent.
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.
CSIRTS triage
- What
- A code injection vulnerability in the diffpatch API allows attackers with repository write access to inject malicious Git hooks and execute arbitrary shell commands as the Gitea service account.
- Who is affected
- Gitea instances prior to 1.27.1 with exposed diffpatch API endpoints.
- Urgency
- Critical; confirmed actively exploited with evidence of malicious cyber actor activity.
- Action
- Upgrade to Gitea 1.27.1 or later without delay.
AI-assisted analysis generated from the source advisory — verify against the original.
⚡ Watch Gitea
Get an email when a new Gitea advisory drops — max one per day, one-click unsubscribe.
Details
Original advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-60004
Exploitation outlook
EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.
- Exploitation confirmedCVE-2026-60004Already exploited in the wild (CISA KEV) — the prediction phase is over. Patch now.
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2026-60004 | coverage & exploitation status | NVD · CVE.org |
Same CVEs, other sources
How other CERTs, PSIRTs and databases cover the vulnerabilities in this advisory.
- unknownexploitedGitea security advisory (AV26-845)cccs
- highexploitedCISA Adds One Known Exploited Vulnerability to Catalogcisa
- high[NEW] [high] Gitea: Vulnerability allows code executioncert-bund
More from CISA Known Exploited Vulnerabilities
- criticalCVE-2026-21962: Oracle HTTP Server and Oracle Weblogic Server Proxy Plug-in Improper Access Control Vulnerabil…2026-08-24
- criticalCVE-2026-73570: Zimbra Collaboration Suite (ZCS) OS Command Injection Vulnerability2026-08-21
- criticalCVE-2026-72530: TrueConf Server Code Injection Vulnerability2026-08-20
- criticalCVE-2026-72529: TrueConf Server Missing Authentication for Critical Function Vulnerability2026-08-20
- criticalCVE-2026-64849: MLflow Server-Side Request Forgery Vulnerability2026-08-19