Vulnerability record

CVE-2026-60004

Gitea Code Injection Vulnerability

Severity: CriticalExploitation: Exploitation confirmedCISA KEV
What should I do?

This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run Gitea, fix it now.

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.

US federal civilian agencies must remediate by Aug 28, 2026.

Patch status

No official fix confirmed yet

Until a fix ships, follow the vendor's mitigations and CISA's required action, limit exposure of affected systems, and watch this record for a patch.

Description

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

Source: NIST National Vulnerability Database. Official vulnerability data, reproduced as published.

Affected products

Products affected by this vulnerability, with versions and the source of each entry
ProductVendorAffected versionsFixed inSource
GiteaGitea>= 1.17.0, < 1.27.11.27.1KEV

Sources: KEV = CISA Known Exploited Vulnerabilities catalog.

Intelligence timeline

Developments from the last 30 days, newest first.

No developments recorded for CVE-2026-60004 in the last 30 days.

1 earlier event is available with a subscription. See plans.

Coverage

We have not published a story about this vulnerability yet.

References

  • github.com https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m
  • cisa.gov https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
  • cisa.gov https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-ba…
  • nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-60004
  • blog.gitea.com https://blog.gitea.com/release-of-1.27.1/
  • github.com https://github.com/0xBlackash/CVE-2026-60004
  • runzero.com https://www.runzero.com/blog/gitea/
  • cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004