All vulnerabilities
CVE-2026-60004BIT-gitea-2026-60004GHSA-rcr6-4jqh-j84mGO-2026-6433

Gitea Code Injection Vulnerability

Gitea GiteaGoLibraries & packages
CVSS
9.8Critical
ExploitationExploited in the wildAdded to KEV 25 Aug 2026CISA KEV
Exploit odds (EPSS)24.0%Chance of exploitation activity in the next 30 days, higher than 97% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in1.27.1Fixed versionCVE List
Federal deadline28 Aug 2026Remediation due date for US federal agenciesCISA KEV
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

  • 1.27.1GiteaCVE List
  • 1.27.1gitea.dev, GoOSVgo get gitea.dev@v1.27.1

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Timeline

  1. 25 Aug 2026Added to CISA KEVCISA KEV
  2. 26 Aug 2026, 19:45 UTCPublishedCVE List

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