CVE-2026-60004BIT-gitea-2026-60004GHSA-rcr6-4jqh-j84mGO-2026-6433
Gitea Code Injection Vulnerability
Gitea GiteaGoLibraries & packages
CVSS
9.8CriticalExploit odds (EPSS)24.0%Chance of exploitation activity in the next 30 days, higher than 97% of CVEs. Scored 23 Oct 2026FIRST EPSS
CISA required actionApply 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. CISA KEV
Patching is not enoughCISA requires federal agencies to look for signs of compromise on affected systems, not only patch (forensic triage under BOD 26-04). Treat exposed systems as possibly compromised. CISA guidance
What fixes it
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Timeline
Public exploit code and templates 1
- Scanner templateGitea <= 1.27.0 - Pre-Auth Remote Code ExecutionNuclei
Listed so defenders can prioritize. Threatline links to the source and does not host exploit code.
Description
Gitea contains a code injection vulnerability that allows an attacker with repository write access to send a malicious patch to the diffpatch API endpoint to plant an executable Git hook and run shell commands as the Gitea service account.
Text from CVE List
Affected versions 2
- Giteaaffected: 1.17 before 1.27.1CVE List
- gitea.dev, Gofrom 1.17.0, fixed in 1.27.1OSV
References 6
- github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84mAdvisoryvia CVE List
- nvd.nist.gov/vuln/detail/CVE-2026-60004Referencevia CISA KEV
- blog.gitea.com/release-of-1.27.1/Referencevia CVE List
- runzero.com/blog/gitea/Referencevia CVE List
- github.com/0xBlackash/CVE-2026-60004Referencevia CVE List
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004Referencevia CVE List