Over 8,300 Gitea Servers Remain Vulnerable to Actively Exploited RCE Flaw

Summary
Shadowserver found 8,393 exposed Gitea servers vulnerable to CVE-2026-60004, which enables shell command execution through the diffpatch API. Gitea fixed the flaw in version 1.27.1; CISA added it to its actively exploited catalog.
Key points
- Shadowserver reported 8,393 internet-exposed Gitea instances vulnerable on August 27, 2026.
- CVE-2026-60004 lets an attacker with repository write access execute shell commands as the Gitea service account via the diffpatch API.
- With self-registration enabled, an unauthenticated attacker can register, create a repository, and obtain the write access needed to exploit the flaw.
- Gitea released version 1.27.1 to fix the vulnerability and urged users to upgrade.
- CISA added the flaw to its catalog of actively exploited vulnerabilities and gave U.S. federal civilian agencies three days to patch.
- Reports say attackers are exploiting the flaw to deploy cryptocurrency-mining malware; CISA had not shared further attack details.
Article Details
- Vulnerability Types
- Code injection
- OS command injection
- Severity
- Critical
- Exploitation Status
- active
- Exploit Availability
- unknown
- Patch Status
- available
MITRE ATT&CK
T1059.004 · Unix ShellThe flaw allows attackers to execute arbitrary shell commands as the Gitea service account through the diffpatch API.T1136.001 · Local AccountWith open registration enabled, an unauthenticated attacker can register an account and create a repository to obtain the write access needed to exploit the flaw.T1190 · Exploit Public-Facing ApplicationAttackers actively exploit the flaw on Internet-exposed Gitea servers to achieve remote code execution.
