CISA has added a critical Gitea remote code execution vulnerability (CVE-2026-60004) to its KEV catalog following reports of active exploitation in the wild.
- CVE-2026-60004 allows for Remote Code Execution (RCE).
- Gitea released version 1.27.1 in late July to address the flaw.
- CISA has mandated federal agencies to patch by August 28.
- Attackers require repository write access to execute the exploit.
The Cybersecurity and Infrastructure Security Agency (CISA) is warning organizations that a recently patched vulnerability in Gitea is currently being exploited by malicious actors. Gitea, a widely utilized open-source, self-hosted software development platform, provides essential services including Git hosting, code review, and CI/CD capabilities.
The vulnerability, tracked as CVE-2026-60004, allows for remote code execution. Gitea developers took swift action by releasing a patch in late July via version 1.27.1. However, the active exploitation in the wild necessitates immediate attention from all administrators running the software.
Why This Matters
BozokMedia analysis shows that vulnerabilities in development tools are particularly devastating because they target the very heart of the software supply chain. If an attacker can compromise a platform like Gitea, they can potentially inject malicious code into the software products being built by the organization, leading to a massive downstream impact.
The ability to plant an executable Git hook through the diffpatch API endpoint represents a direct path to full system compromise.
According to CISA, the flaw is a code injection vulnerability. An attacker with repository write access can send a malicious patch to the diffpatch API endpoint to plant an executable Git hook. This allows the attacker to run shell commands under the privileges of the Gitea service account.
Historical Context
This is not an isolated incident for the platform. In early July, organizations were alerted to a different exploited flaw, CVE-2026-20896. The recurring nature of these vulnerabilities highlights the increasing scrutiny and targeting of self-hosted development environments by sophisticated threat actors.
Frequently Asked Questions
1. How can I protect my organization?
Ensure all Gitea deployments are updated to version 1.27.1 or higher immediately.
2. Who is behind these attacks?
Currently, the identity and motives of the attackers behind the exploitation of CVE-2026-60004 remain unknown.