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, 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
85%
ahead of 99.7% of scored CVEs
CVSS base
9.8
critical
Remediation
The vendor's own words where we have them.
Upgrade Gitea to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
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 2 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 |
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) |
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 2 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.
Repositories
9
3 of the 5 sampled are weaponized
Exploit entries
3
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.
Critical Gitea RCE is actively being exploited. CISA has added CVE-2026-60004 to its Known Exploited Vulnerabilities catalog amid active Gitea remote code execution exploitation, with a separate reported attack deploying a miner-like dropper. If your organization uses Gitea,
@VistemSolutions· Aug 28, 2026
Gitea CVE-2026-60004: code injection via diffpatch API. Default config has self-registration enabled. Attacker registers account, creates repo, exploits vulnerability. CISA added to KEV August 26. Cryptocurrency miners deployed on compromised servers. #Cybersecurity
@McM1Alex· Aug 28, 2026
CISA added Gitea CVE-2026-60004 to its exploited vulnerabilities catalog. Affected versions are 1.17 to 1.27.0, fixed in 1.27.1. For crypto teams, repo and CI/CD security is part of chain security. https://t.co/6wnCxw9dXe
@Kapuletti2603· Aug 28, 2026
Over 8,300 Internet-exposed Gitea servers remain unpatched for CVE-2026-60004, a critical code injection flaw used for remote code execution and crypto-mining malware via the diffpatch API. #Gitea #CVE202660004 #CISA https://t.co/OFQiPFVVnS
@TweetThreatNews· Aug 28, 2026
DEEP DIVE — CVE-2026-60004: a crafted patch to Gitea's diffpatch route plants a Git hook that executes as the Gitea OS user. CVSS 9.8, and open self-registration makes it pre-auth by default. KEV-listed Aug 25, but the patch shipped Jul 27. https://t.co/F5pGa1Y1RQ
@DailyCVEBrief· Aug 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.
- Monitor for scanner or exploit-pattern traffic after 12 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.
- ip167.179.119.12081
Abuse.ch-Urlhaus-C&Cs · Aug 8, 2026
- urlhttp://167.179.119.120/install.sh75
Abuse.ch-Urlhaus-C&Cs · Aug 8, 2026
- ip69.30.251.15676
Abuse.ch-Urlhaus-C&Cs · Aug 8, 2026
- ip216.98.10.6077
Abuse.ch-Urlhaus-C&Cs · Aug 8, 2026
- urlhttp://216.98.10.60:55555/ksmd75
Abuse.ch-Urlhaus-C&Cs · Aug 8, 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
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
Cve is exploited gagaltotal/CVE-2026-60004-poc-gitea
Aug 8, 2026 · SOCRadar CTI
Cve is exploited HackSpeak/CVE-2026-60004
Aug 4, 2026 · SOCRadar CTI
Cve is exploited imbas007/CVE-2026-60004-POC
Aug 3, 2026 · SOCRadar CTI
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 16×SVRS was changedJul 30, 2026 – Aug 27, 2026 · SOCRadar CTI
- 10×TweetsJul 31, 2026 – Aug 29, 2026 · SOCRadar CTI
- 7×Github ReposJul 30, 2026 – Aug 25, 2026 · SOCRadar CTI
- 2×TelegramAug 26, 2026 – Aug 27, 2026 · SOCRadar CTI
- 1×CVE modified by NIST: CISA KEV details updated.Aug 27, 2026 · SOCRadar CTI
References
8 on the record
- blog.gitea.com/release-of-1.27.1/
Release Notes, 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, NIST
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004
US Government Resource, NIST
- www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
US Government Resource
- www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk
US Government Resource
- nvd.nist.gov/vuln/detail/CVE-2026-60004
Vendor Advisory
Coverage
12 stories from the feeds we poll
Over 8,300 Gitea servers vulnerable to code execution attacks - BleepingComputer
bleepingcomputer.com · Aug 28, 2026
Breach Roundup: A Call for Cyber Defense Collective Action - BankInfoSecurity
bankinfosecurity.com · Aug 27, 2026
Hackers target Gitea servers with critical code injection flaw - Computing UK
computing.co.uk · Aug 27, 2026
CISA Warns of Gitea Code Injection Vulnerability Exploited in Attacks
cybersecuritynews.com · Aug 27, 2026
CVE-2026-60004
vuldb.com · Aug 26, 2026
7 more reports on this CVEShowing 5 of 12 · Vendor research and security press coverageUnlock freeElsewhere on this site
- Giteaevery CVE for this vendor
- 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 from Gitea. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 12 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 85% 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.