Critical Gitea RCE Actively Exploited as Reported Attack Drops Miner-Like Payload
The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has warned of active exploitation efforts targeting a recently patched critical security flaw impacting Gitea. The vulnerability in question is CVE-2026-60004, a case of remote code execution that allows an …
Intelligence analysis by Llama

A critical security flaw in Gitea has been actively exploited, with attackers using the vulnerability to deploy a cryptocurrency-miner-like dropper. The flaw, CVE-2026-60004, allows an attacker with ordinary write access to a repository to execute arbitrary shell commands as the Gitea OS user.
Imagine you have a super powerful computer that can do lots of things, but someone else can secretly control it and make it do bad things. That's what happened with Gitea, a software that helps people work together on projects. Someone found a way to hack into it and make it do bad things, like mining for cryptocurrency. This is a big problem because it can happen to anyone who uses Gitea, and it's not just a matter of fixing the software, but also making sure people are aware of the risks and take steps to protect themselves.
Analysis
Gitea Vulnerability Overview
The CVE-2026-60004 vulnerability in Gitea is a critical security flaw that allows an attacker with ordinary write access to a repository to execute arbitrary shell commands as the Gitea OS user. This vulnerability affects all versions of Gitea from version 1.17 and has been patched in version 1.27.1.
Exploitation of the Vulnerability
Security researcher Shai rod (aka NightRang3r) has been credited with discovering and reporting the issue. The issue affects all versions of Gitea from version 1.17 and has been patched in version 1.27.1. While the vulnerable API call requires authentication and repository write permission, the fact that Gitea allows registration by default makes it possible for an external actor to create an account and a repository and then trigger the exploit without having to rely on pre-existing credentials.
Attack Details
A full-stack developer named Andrey (aka @Causelof) pointed out in an analysis published last week on the Russian blogging platform Habr that their Gitea instance was targeted by an unknown threat actor using CVE-2026-60004 to deploy a cryptocurrency-miner-like dropper. The incident came to light after receiving an email notification from hosting provider HOSTKEY, stating their virtual server had been using more than 70% of the processor capacity for an extended period of time in violation of the service's terms, causing the provider to temporarily limit the available CPU resources to the VPS.
Implications
The exploitation of the CVE-2026-60004 vulnerability in Gitea highlights the importance of patching vulnerabilities in open-source software, particularly those that can be exploited by attackers to gain unauthorized access to systems. It also underscores the need for developers to be vigilant in monitoring their systems for signs of exploitation and to take prompt action to mitigate any potential damage.
Key points
- A critical security flaw in Gitea has been actively exploited, with attackers using the vulnerability to deploy a cryptocurrency-miner-like dropper.
- The flaw, CVE-2026-60004, allows an attacker with ordinary write access to a repository to execute arbitrary shell commands as the Gitea OS user.
- The issue affects all versions of Gitea from version 1.17 and has been patched in version 1.27.1.
- The exploitation of the vulnerability highlights the importance of patching vulnerabilities in open-source software, particularly those that can be exploited by attackers to gain unauthorized access to systems.
If the vulnerability is patched quickly and developers are vigilant in monitoring their systems, the impact of the exploitation can be minimized. Additionally, the incident highlights the importance of security research and the need for developers to be proactive in addressing vulnerabilities.
The exploitation of the CVE-2026-60004 vulnerability in Gitea could lead to further attacks and potentially more severe consequences, such as data breaches or system compromise. It also underscores the need for developers to be more proactive in addressing vulnerabilities and for users to be more aware of the risks associated with using open-source software.



