CVE-2026-60004
CVE-2026-60004 — Gitea Code Injection Vulnerability
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
Published Updated Sources: NVD, Gitea (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Aug 25, 2026
EPSS
24%
ahead of 98% of scored CVEs
CVSS base
9.8
critical
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade gitea.dev to 1.27.1 or later (go advisory GHSA-rcr6-4jqh-j84m).
CISA 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.
Federal deadline Aug 28, 2026 — passed 98 days ago
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Gitea | Gitea | 1.17 to < 1.27.1 | Vulnerable |
| Go | gitea.dev | >= 1.17.0, < 1.27.1 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | critical | 3.9 | 5.9 | MITRE (CNA), Gitea (CNA), GHSA |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-94 · Improper Control of Generation of Code ('Code Injection')
- Bypass Protection Mechanism
- Gain Privileges or Assume Identity
- Execute Unauthorized Code or Commands
- Hide Activities
Mitigation: Refactor your program so that you do not have to dynamically generate code.
Weakness & attack patterns
- CWE-94Code Injection
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1027.006Obfuscated Files or Information: HTML Smuggling
- T1027.009Obfuscated Files or Information: Embedded Payloads
- T1564.009Hide Artifacts: Resource Forking
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Aug 25, 2026
Federal deadline
Aug 28, 2026
passed 98 days ago
Ransomware use
Unknown
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
37
3 of the 5 sampled are weaponized
Exploit entries
7
Exploit-DB and CTI exploit indexes
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
CISA lists Gitea's CVE-2026-60004 as exploited. With write access to any repo, a user can plant a Git hook via diffpatch and run shell commands as the Gitea user, and open registration hands out that access. Fixed in 1.27.1. Frame flags it offline: https://t.co/fj7wjYmxJO https://t.co/3suJSpZZG7
@latent_node· Nov 15, 2026
RIP https://t.co/fjqfoFsE8Q 2024-2026 Gitea instance that hosted over 500 repositories and 100s of users. Put up a brave fight against botnets and other attacks, but got compromised in the end (I'm guessing CVE-2026-60004). https://t.co/SoyCKhhUAd
@sortedcord· Oct 10, 2026
CISA confirmed active exploitation of CVE-2026-60004, a CVSS 9.8 RCE in Gitea. Attackers hit unpatched instances with code injection, one campaign drops a miner-like payload. Fixed in Gitea 1.27.1 (late July). Source: BleepingComputer
@cordobahq· Oct 7, 2026
🚩 Red Heron Exploits CVE-2026-60004 on Gitea Servers to Deploy Linux Rootkit https://t.co/QAQInqWjS7 A Chinese-speaking threat actor tracked as Red Heron is exploiting CVE-2026-60004 against Gitea servers to steal source code and compromise Linux hosts. After gaining access,
@Huntio· Sep 28, 2026
🚩 Red Heron Exploits CVE-2026-60004 on Gitea Servers to Deploy Linux Rootkit https://t.co/QAQInqWjS7 A Chinese-speaking threat actor tracked as Red Heron is exploiting CVE-2026-60004 against Gitea servers to steal source code and compromise Linux hosts. After gaining access, iocs: https://cyberpress.org/red-heron-hackers-exploit-critical-gitea-rce-2/
@Huntio· Sep 28, 2026
35 more posts on this CVEShowing 5 of 40 · Who is discussing this CVE, and how loudlyUnlock freeDetection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Gitea, Gitea.dev.
- Monitor for scanner or exploit-pattern traffic after 44 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
- ip103.160.130.10953
AbuseIPDB Hourly Update · Mar 21, 2026
- ip196.191.231.1254
DigitalSide Threat Intel · Apr 28, 2024
- ip196.189.197.13154
AbuseIPDB Hourly Update · Mar 25, 2026
- ip179.108.89.22054
Abuse.ch-Urlhaus-C&Cs · Jul 19, 2024
- ip210.208.110.2166
Abuse.ch-Urlhaus-C&Cs · Aug 2, 2026
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Cve is exploited Gitea Code Injection Vulnerability
Nov 20, 2026 · SOCRadar CTI
Cve is exploited basesixtythree/B63-POC-CVE-2026-60004
Nov 15, 2026 · SOCRadar CTI
Cve is exploited erberkan/CVE-2026-60004-PoC
Sep 15, 2026 · SOCRadar CTI
Added · GHSA-rcr6-4jqh-j84m published (critical)
Sep 8, 2026 · GitHub Security Advisory
Added · CVSS 3.1 9.8 (AV:N)
Aug 27, 2026 · NVD
Initial · CVE published
Aug 26, 2026 · NVD
Added to CISA KEV catalog
Aug 25, 2026 · CISA
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 20×SVRS was changedSep 9, 2026 – Nov 15, 2026 · SOCRadar CTI
- 12×TweetsSep 15, 2026 – Nov 16, 2026 · SOCRadar CTI
- 3×TelegramSep 14, 2026 – Sep 27, 2026 · SOCRadar CTI
- 2×Github ReposSep 14, 2026 – Nov 1, 2026 · SOCRadar CTI
References
14 on the record
- blog.gitea.com/release-of-1.27.1/
Release Notes, Vendor Advisory, NIST
- github.com/0xBlackash/CVE-2026-60004
Exploit, Mitigation, Third Party Advisory, NIST
- github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m
Exploit, Vendor Advisory, NIST
- www.runzero.com/blog/gitea/
Third Party Advisory, Vendor Advisory, NIST
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004
US Government Resource, NIST
- nvd.nist.gov/vuln/detail/CVE-2026-60004
NVD, Vendor Advisory
- github.com/go-gitea/gitea/pull/38637
Exploit, Third Party Advisory
- github.com/go-gitea/gitea/pull/38638
Exploit, Third Party Advisory
Coverage
16 stories from the feeds we poll
Critical Gitea vulnerability now exploited in the wild (CVE-2026-60004)
Help Net Security · Aug 26, 2026
Zyxel and Veeam Flaws Under Active Exploitation With Command and SYSTEM Access - The Hacker News
thehackernews.com · Sep 22, 2026
August 2026 CVE Landscape
recordedfuture.com · Sep 8, 2026
Top RCE Vulnerabilities
socradar.io · Oct 14, 2026
September 2026 CVE Landscape - Recorded Future
recordedfuture.com · Oct 13, 2026
11 more reports on this CVEShowing 5 of 16 · Vendor research and security press coverageUnlock freeRelated CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-32432 Craft CMS Allows Remote Code ExecutionCVSS 10.0 · CISA KEV
- CVE-2024-4040 CrushFTP VFS Sandbox Escape VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2022-24816 Improper Control of Generation of Code in jai-extCVSS 10.0 · CISA KEV
- CVE-2022-22947 VMware Spring Cloud Gateway Code Injection VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2021-22205 GitLab Community and Enterprise Editions Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2019-7609 Kibana Arbitrary Code ExecutionCVSS 10.0 · CISA KEV
Elsewhere on this site
- Giteaevery CVE for this vendor
- Goevery CVE for this vendor
- Giteaevery page on this product
- August 2026what else CISA listed
- Remote Code Execsame class
- CWE-94other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-60004 is Gitea Code Injection Vulnerability, a critical vulnerability affecting Gitea, Gitea.dev from Gitea, Go. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 44 public PoC repositories reported; 3 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 24% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.