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.
In het kort
CVE-2026-60004 (Gitea Code Injection) heeft een CVSS 3.1-basisscore van 9.8, beoordeeld als kritiek. CISA heeft deze op 25 aug 2026 toegevoegd aan de catalogus van actief misbruikte kwetsbaarheden. Opgelost in Gitea 1.27.1 of later.
Beschrijving
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
CVSS 3.1-ontleding
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HGetroffen producten
- Gitea≥ 1.17.0 < 1.27.1
Herstel
Opgelost in- Gitea≥ 1.27.1
Referenties
Data uit de NVD, CISA KEV-catalogus en FIRST EPSS. De CVSS 4.0-basisscore wordt getoond als de NVD die heeft, anders CVSS 3.1.
