CVE-2026-60004
Exploited in the wild. In CISA KEV since 2026‑08‑25. A vendor fix is available.
What to do
The vendor has published a fix. Version details are below where the sources state them.
Steps
Written by AI from the record- Check your Gitea version and confirm it is earlier than 1.27.1.
- Upgrade Gitea to 1.27.1 or later immediately.
- If you cannot upgrade right away, apply the vendor-recommended mitigations/workarounds from the Gitea security advisory and immediately limit/disable public access to the diffpatch API as feasible.
- Review Gitea server logs for signs of hook installation or suspicious processes, and investigate any indicators of compromise.
What it is
From the CVE record
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
In plain language
Written by AI from the recordCVE-2026-60004 is a serious Gitea flaw that lets an attacker run code on your server without logging in; if you run Gitea before 1.27.1, you should treat this as an urgent compromise risk.
CVE-2026-60004 is unauthenticated remote code execution in Gitea (diffpatch API) caused by allowing an attacker to install malicious Git hooks, leading to arbitrary command execution on the server; this is listed in CISA KEV with confirmed exploitation.
If you're affected
- Full server takeover
- Cryptomining on your infrastructure
- Customer data exposure risk
- Service outage and downtime
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Listed as exploited in the wild since 2026-08-25.
US federal agencies must remediate by 2026-08-28.
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.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
24% chance of exploitation activity in the next 30 days, which ranks it in the 98th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
- Attention now
Sustained, driven by in-the-wild reports.
Lifecycle
12 events over 52 days, from the signal feeds we watch.
- EPSS band changehigh → moderateepss band change
- Patch availableworkaround available, record updated
- Publishedweakness classified, att&ck mapped, record updated
- Added to CISA KEV
- OpenVAS check added
- Nuclei check added
Affected products
And 1 more affected product. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored 9.8 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- blog.gitea.com/release-of-1.27.1/
- github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m
- runzero.com/blog/gitea/
And 2 more references. See all after sign-in
In the news
All news- Chinese hackers exploit WordPress, Zyxel flaws to steal govt data
- Attacker compromised nearly 1000 Zyxel switches since August (CVE-2026-7273)
- Red Heron Exploits Gitea RCE to Compromise 13 Organizations Across Six Countries
- Более 8300 серверов Gitea уязвимы перед выполнением произвольного кода
- Week in review: Compromised Zimbra servers, previously patched Citrix NetScaler flaw exploited
- Over 8,300 Gitea servers vulnerable to code execution attacks
- Hackers now exploit critical Gitea flaw in code injection attacks
- Critical Gitea vulnerability now exploited in the wild (CVE-2026-60004)
- Critical Gitea RCE Actively Exploited as Reported Attack Drops Miner-Like Payload
- CISA Warns of Exploited Gitea Vulnerability
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Gitea, not every advisory. This one: actively exploited.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI