CVE-2026-60004KEV · OVERDUECWE-94code-injection
Gitea Code Injection Vulnerability
Critical · published August 27, 2026
Patch now
Confirmed exploited, and the score agrees
CVSS calls it critical at 9.8. It is confirmed in active exploitation. It sits in the 97.8th percentile for exploit probability.
What it is
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
The record
Technical detail
- CVSS v3.1
- 9.8 · CRITICAL
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4.0
- Not supplied
- EPSS
- 0.23988 · 97.8th percentile
- Weakness
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
- Published
- 2026-08-27T00:17Z
- KEV added
- 2026-08-25 · due 2026-08-28
Affected products (1)
| Product | Versions | Fixed in |
|---|
| gitea/gitea | ≥ 1.17.0, < 1.27.1 | 1.27.1 |
References (5)
EPSS history
Timeline