BLACKOUT MAP

Gitea · Gitea

CVE-2026-60004

Gitea Code Injection Vulnerability

Exploited in attacks Critical 9.8 Attack chance: 24%
Share

What it is

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

CISA: 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.

What to do

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.

Deadline for US federal agencies: August 28, 2026

Added to the CISA list
August 25, 2026
Published
August 26, 2026
Severity
Critical 9.8 CVSS 3.1
Chance of attacks in the next 30 days (EPSS)
24% in the top 2.2% of all known vulnerabilities
Weakness
CWE-94
More details
NVD · CVE.org · CISA
All references (4)

Sources: Known Exploited Vulnerabilities (CISA, public domain), CVE records (cve.org) and EPSS (FIRST). The chance of attacks is the EPSS estimate that someone will try to exploit the flaw in the next 30 days.