Skip to content

CVE-2026-60004

Gitea Code Injection

9.8 CRITICALActively exploited (CISA KEV)Public exploitEPSS 24.0%
  1. Published26 Aug 2026
  2. Added to CISA KEV25 Aug 2026
  3. Remediation due28 Aug 2026
Actively exploited (CISA KEV)

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.

Added to KEV: 25 Aug 2026Federal remediation due: 28 Aug 2026

Description

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

CVSS 3.1 breakdown

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

Gitea≥ 1.17.0 < 1.27.1

Remediation

Fixed in
Gitea≥ 1.27.1

Frequently asked

Is CVE-2026-60004 being actively exploited?

Yes. CVE-2026-60004 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added 25 Aug 2026.

How severe is CVE-2026-60004?

CVE-2026-60004 has a CVSS 3.1 base score of 9.8, rated critical. EPSS estimates a 24.0% probability of exploitation.

Which products are affected by CVE-2026-60004?

Affected products include Gitea.

How do I fix CVE-2026-60004?

Upgrade affected software to a fixed version, for example Gitea 1.27.1 or later, then confirm no affected versions remain in your inventory.

How Secuno handles this

Secuno correlates vulnerabilities like CVE-2026-60004 against the real software inventory on every managed device, every day. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. Because it is on the CISA KEV list, Secuno flags any affected asset as top-priority automatically. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.

Get Patch this first every Monday

Five vulnerabilities that matter this week, ranked on real exploitation. Plain language, one email, no spam.

You can unsubscribe with one click from every issue. We handle your details as described in our privacy policy.

Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.