StraitOfVuln
Latest / CVE-2026-60004

CVE-2026-60004

CriticalCVSS 9.8 (v3.1)Actively exploited · CISA KEVAnalyzed
CVE.org ↗NVD ↗Vendor advisory ↗

Description

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

Details

CVE ID
CVE-2026-60004
Published / updated
26 Aug 2026, 20:17 UTC · last modified 27 Aug 2026, 11:41 UTC
Severity
CRITICAL
CVSS score
9.8 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · Attack vector: Network
Affected vendor
Affected products
Gitea
Affected versions
Gitea: ≥ 1.17.0, < 1.27.1
Fixed versions
gitea 1.27.1
Exploitation status
In CISA KEV since 25 Aug 2026 (federal due date 28 Aug 2026). Ransomware use: Unknown.
EPSS
99.05% probability of exploitation in the next 30 days · 100% percentile (02 Dec 2026)
Weakness
Remediation
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.
Source (CNA)
cve@mitre.org
AI plain-English explainer

A short explanation of who is affected, the impact and what to do, written only from this record's data.

AI isn't configured on this server (set AI_PROVIDER and an API key).

Track this software

Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.

+ Gitea Gitea

CISA KEV entry

Gitea Code Injection Vulnerability

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.

Notes: 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