CVE-2026-60004
Gitea
Published 26 Aug 2026 · updated 27 Aug 2026 · Analyzed
Exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on 25 Aug 2026, with a remediation deadline of 28 Aug 2026 for US federal agencies.
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.
Description
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
References
- blog.gitea.com/release-of-1.27.1/ · Release Notes
- github.com/0xBlackash/CVE-2026-60004 · Exploit, Mitigation, Third Party Advisory
- github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m · Exploit, Vendor Advisory
- www.runzero.com/blog/gitea/ · Third Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004 · US Government Resource