What’s Vulnerable › Vulnerabilities
CVE-2026-60004: Gitea Code Injection Vulnerability
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: yes — in CISA KEV since 2026-08-25
- EPSS: 24.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-08-26 · updated 2026-08-27
- Weakness: CWE-94
Description
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
Affected products
- Gitea Open Source Git Server: from 1.17.0 before 1.27.1 — fixed in 1.27.1
How to fix
Upgrade to a fixed version: Gitea Open Source Git Server 1.27.1. Check the vendor advisory for mitigations.
References
- https://blog.gitea.com/release-of-1.27.1/
- https://github.com/0xBlackash/CVE-2026-60004
- https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m
- https://www.runzero.com/blog/gitea/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004
Get alerted when CVE-2026-60004 or the next vulnerability affects your stack