Original description
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
Known exploited (CISA KEV)
- Added to KEV
- 2026-08-25
- Remediation due (US federal)
- 2026-08-28
- Ransomware use
- Unknown
- Required action
- Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Affected software
- Gitea ≥ 1.17.0 < 1.27.1 Fixed in: 1.27.1 exact match
Details
- Published
- 2026-08-26
- Last modified
- 2026-08-27
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-94
- EPSS (30-day exploit probability)
- 23.99% (percentile 98)
References
- cve.org/CVE-2026-60004
- nvd.nist.gov/vuln/detail/CVE-2026-60004
- blog.gitea.com/release-of-1.27.1/
- github.com/0xBlackash/CVE-2026-60004
- github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m
- www.runzero.com/blog/gitea/
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.