# CVE-2026-60004: Gitea Code Injection Vulnerability

> CVE-2026-60004: Gitea Code Injection Vulnerability. CVSS 9.8 (CVSS 3.1), in CISA KEV.

Canonical: https://rewindex.com/cve/CVE-2026-60004
Last updated: 2026-09-08T18:03:21Z

- Published: 2026-08-26 19:45 UTC · Updated: 2026-09-08 18:03 UTC · Assigner: mitre
- CVSS: 9.8 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 24.0%, 98th percentile (scored 2026-10-25)
- CISA KEV: yes, added 2026-08-25, federal due date 2026-08-28, ransomware use: Unknown
- CWE: CWE-94

## Description

Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.

## CISA 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 vendors and products

- Gitea: Gitea

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-60004)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-60004)
- [https://blog.gitea.com/release-of-1.27.1/](https://blog.gitea.com/release-of-1.27.1/)
- [https://github.com/0xBlackash/CVE-2026-60004](https://github.com/0xBlackash/CVE-2026-60004)
- [https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m](https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m)
- [https://www.runzero.com/blog/gitea/](https://www.runzero.com/blog/gitea/)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-60004 · Markdown: https://rewindex.com/cve/CVE-2026-60004.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-60004 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:05:31.491Z
