◆ CVE Hub

CVE-2026-60004

KEV: known exploited SSVC: active
Published
2026-08-26
Last modified
2026-09-08
CNA
mitre
NVD status
Analyzed
CWE
CWE-94
CVSS v3.1 (listed by NVD)
9.8
CRITICAL
Scored by mitre.org (not yet scored by NVD)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0 (listed by NVD)
—
Not scored
CVSS (listed by CVE.org)
9.8
CRITICAL
Scored by CNA (mitre) · v3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS exploit probability
24.0%
Percentile 97.8%
as of 2026-10-24
CISA KEV
Listed
Added 2026-08-25 / due 2026-08-28
Ransomware use: Unknown
SSVC (CISA ADP)
active
Automatable: yes / Impact: total

Attack conditions and impact

Derived from the CNA (via NVD) CVSS 3.1 vector
NetworkNo authNo interaction Confidentiality HIntegrity HAvailability H

This vulnerability may be exploitable over the internet without authentication or user interaction.

MetricValueMeaning
Attack vector AVNNetwork
Attack complexity ACLLow (easy)
Privileges required PRNNone
User interaction UINNone
Scope SUUnchanged
Confidentiality CHHigh
Integrity IHHigh
Availability AHHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

NVD

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

CISA KEV entry

Gitea Code Injection Vulnerability — Gitea / Gitea

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.

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.

https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2026-60004

CVSS assessments

ProviderVersionScoreVector
NVD / [email protected] (Secondary)3.19.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA / mitre3.19.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products and packages

CNA (CVE.org)

VendorProductVersions
GiteaGitea
affected: 1.17 … < 1.27.1
default: unaffected

NVD CPE (1)

Show CPE list
VendorProductRangeCPE
giteagitea>= 1.17.0, < 1.27.1cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*

Open-source packages (GitHub Advisory / OSV)

GHSA-rcr6-4jqh-j84m GHSA CRITICAL reviewed

Gitea: Remote Code Execution via diffpatch Git Hook Installation

EcosystemPackageAffected versionsFixed in
Gogitea.dev>= 1.17.0, < 1.27.11.27.1

Gitea: Remote Code Execution via diffpatch Git Hook Installation in gitea.dev

EcosystemPackageAffected versionsFixed in
Gocode.gitea.io/gitea>= 1.17.0
Gogitea.dev< 1.27.11.27.1

Linux distribution status

Red Hat ↗

No record

Debian ↗

No record

Ubuntu ↗

No record

References (14)