CVE-2026-60004

CriticalActively exploited (CISA KEV)

Description

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

SeverityCritical
CVSS9.8
Exploit probability—
ProductGitea
PublishedAug 26, 2026
First seenAug 26, 2026
Added to KEVAug 25, 2026

How to fix

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.

CISA due date: Aug 28, 2026
Update
  • gitea gitea1.27.1 or later
  • gitea.dev1.27.1 or later

Affected products

ProductAffected versionsFixed in
gitea gitea1.17.0 ≤ v < 1.27.11.27.1
gitea.devGo1.17.0 ≤ v < 1.27.1, v < 1.27.11.27.1
code.gitea.io/giteaGo1.17.0 ≤ v—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-60004 · Gitea · Dark Radar