cvelo
P1 · CriticalIn CISA KEV since Aug 25, 2026EPSS 99%

Gitea Code Injection Vulnerability

  • CVE-2026-60004

Summary

CVE-2026-60004 is a code injection flaw in Gitea. An attacker with repository write access can send a malicious patch to the diffpatch API endpoint, which plants an executable Git hook. That hook then runs shell commands as the Gitea service account. The record lists this vulnerability in the CISA Known Exploited Vulnerabilities catalog, indicating exploitation in the wild. No CVSS score is provided in the record. Teams running Gitea should prioritize identifying the affected versions and applying the vendor fix, and should review who holds repository write access.

AI summary · verify against the vendor advisory

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 the CISA KEV record.

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.

From CISA KEV · due for US federal agencies by Aug 28, 2026

Affected

  • Gitea

    • No versions listed

Timeline

  1. Added to CISA KEV
  2. EPSS first scored at 99%

Related news

No article from the followed outlets names this vulnerability.