CVE-2026-60004Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
Updated under an hour ago ()
Does this affect you?
It affects Gitea. Add what you run to find out whether that includes you.
CISA lists it as known exploited since Aug 25, 2026; federal agencies had to remediate by Aug 28, 2026. Treat that date as your deadline.
Do this next
Free account, 1 product
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
- CVSS
- 9.8 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-94
- Known exploited
- Added to CISA KEV Aug 25, 2026; federal remediation due Aug 28, 2026Apply 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.
- EPSS (exploitation in the next 30 days)
- 23.99% (percentile 98)
- Assigned by
- mitre
- NVD analysis
- Analyzed
- Record last updated
- Sep 8, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Gitea Gitea gitea:gitea (from the name) | from 1.17 before 1.27.1 | CNA record |
gitea gitea gitea:gitea | from 1.17.0 before 1.27.1 | NVD |
References
- https://blog.gitea.com/release-of-1.27.1/release-notes
- https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84mexploit, vendor-advisory
- https://www.runzero.com/blog/gitea/third-party-advisory
- https://github.com/0xBlackash/CVE-2026-60004exploit, mitigation, third-party-advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004us-government-resource
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.