Critical Gitea Vulnerability Exposes 8,300+ Development Servers to Code Execution Attacks
Over 8,300 Internet-exposed Gitea servers remain vulnerable to CVE-2026-60004, a critical code injection flaw that allows authenticated attackers to execute arbitrary shell commands through the diffpatch API endpoint. The vulnerability, reported by Salesforce security researcher Shai Rod, enables remote code execution with Gitea service account privileges by submitting malicious patches. With Gitea's default self-registration feature enabled, unauthenticated attackers can register accounts, create repositories, and exploit the flaw without prior credentials. Despite patches being available since July 27, 2026, threat actors are actively exploiting unpatched servers to deploy cryptocurrency mining malware. This incident highlights the growing threat landscape targeting DevOps infrastructure and self-hosted development platforms. As organizations increasingly adopt cloud-native development practices and hybrid environments, securing code repositories and CI/CD pipelines has become critical to preventing supply chain attacks and protecting intellectual property.
Kill Chain









