CVE Explore

RCE in Gitea

CVE-2026-60004

CVSS v3
9.8 Critical
CISA KEV
Since 2026-08-25
Public exploits
13 repositories
EPSS
0.240 · 98.3th percentile
Published
2026-08-26

What to do

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 catalog
BOD 22-01 due date
Affected
1 affected product

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

Vulnerability class: RCE (Remote Code Execution)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Attack Vector
Network AV:N
Attack Complexity
Low AC:L
Privileges Required
None PR:N
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
High C:H
Integrity
High I:H
Availability
High A:H

EPSS exploit prediction

EPSS 0.240, 98.3th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

CISA KEV (Known Exploited Vulnerabilities)

This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.

BOD 22-01 due date: .

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.

Browse the full CISA KEV catalog with PoC counts, Metasploit modules and EPSS.

Public exploits and proof-of-concept code

13 public repositories with exploit or proof-of-concept code for this CVE:

3 more are listed on the interactive page.

Also mentioned in 3 other repositories (0xBlackash/CVE-2026-60004, 0xredash/CVE-2026-60004, HORKimhab/CVE-2026-60004). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References