Skip to main content

Security tracker

CVE-2026-60004: Gitea Code Injection Vulnerability

In short

Gitea Gitea has a weakness classified as code injection (CWE-94). CISA added it to its Known Exploited Vulnerabilities catalog on 2026-08-25. NVD lists CVSS 3.1 at 9.8 CRITICAL.

What it is

“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.” — CISA KEV, retrieved 2026-11-01
“Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.” — NVD, retrieved 2026-11-01

Who is affected

Gitea Gitea. NVD lists the following versions as affected:

  • Versions from 1.17.0 inclusive, before 1.27.1

Exploitation status

CISA KEV added: 2026-08-25. Known ransomware campaign use: Not reported by CISA. Due date CISA set for US federal civilian agencies: 2026-08-28.

Scores

NVD CVSS 3.1: 9.8 CRITICAL; vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; source [email protected].

EPSS by FIRST: 23.99%; percentile 97.84; score date 2026-10-31. EPSS estimates the probability of exploitation in the next 30 days.

CWE: CWE-94.

Timeline

Source events
DateEvent
2026-08-25CISA KEV added
2026-08-26T20:17:56.010NVD published
2026-08-27T11:41:19.230NVD last modified
2026-08-28CISA KEV due
2026-10-31FIRST EPSS score

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 KEV

What to do

  • Confirm whether you run Gitea Gitea and which version.
  • Apply the vendor update or mitigation in the vendor advisory.
  • Follow CISA’s required action.
  • Review the vendor guidance on signs of compromise.
  • Track the fix through completion.

Sources and dates

CISA Known Exploited Vulnerabilities Catalog, version 2026.10.30; retrieved 2026-11-01. CISA KEV data: CC0 1.0. No endorsement by CISA.

NVD retrieved: 2026-11-01. This product uses the NVD API but is not endorsed or certified by the NVD.

EPSS scores by FIRST; score date 2026-10-31.

Check your own domain's public security settings

The snapshot checks a domain you own or are authorized to check for DNS, HTTPS/TLS and web-header hygiene. It does not test for this CVE.