SecPod

Learn Search

Search across all Learn content

← Back to Security Research
From Gitea Exploitation to Root Access: Uncovering Red Heron’s Global Attack Campaign

From Gitea Exploitation to Root Access: Uncovering Red Heron’s Global Attack Campaign

Oct 27, 2026By Padmashree P

Summary

Red Heron demonstrates how quickly a newly disclosed vulnerability in internet-facing development infrastructure can evolve into a broader enterprise compromise. The suspected China-linked threat actor weaponized the critical Gitea vulnerability CVE-2026-60004 within days of public disclosure, converting publicly available proof-of-concept code into an automated framework capable of identifying vulnerable servers, creating accounts, executing code, collecting repositories, and removing selected traces. What began as exploitation of self-hosted source-code infrastructure progressed into credential collection, persistent access, lateral movement, malware deployment, and ultimately root-level access to virtualization infrastructure. The campaign also exposed two significant Linux threats: the JITTERLY post-exploitation implant and the previously undocumented SIXZUT rootkit.

Background of Red Heron

Red Heron is the name assigned by the Acronis Threat Research Unit (TRU) to a threat actor uncovered during threat-hunting activity in August 2026. Investigators traced a suspicious Linux implant to an exposed staging server controlled by the actor. The server unintentionally provided researchers with extensive visibility into the operation, including exploitation scripts, reconnaissance databases, command history, stolen repositories, malware, and post-exploitation tooling.

The recovered infrastructure showed that Red Heron had developed a structured reconnaissance process around internet-facing Gitea installations. The actor scanned 1,386 Gitea instances across seven countries and maintained a separate dataset containing 477 Taiwan-based systems. Potential targets were categorized using Simplified Chinese labels covering sectors such as defense, elections, energy, aerospace, telecommunications, government, public safety, research, cloud services, and developer infrastructure.

Vulnerability Details

CVE ID CVSS Score EPSS Score Affected Versions Vulnerability Type
CVE-2026-60004 9.8 (Critical) 86.78% Gitea 1.17 through 1.27.0 Remote Code Execution

CVE-2026-60004 is a critical remote code execution vulnerability affecting Gitea's diffpatch functionality. The flaw exists in the way repository patches were processed inside a temporary Git repository.

Under vulnerable conditions, specially crafted patch operations could cause Git to place attacker-controlled content into an executable hook location. When Git subsequently processed the repository index, the malicious hook could execute commands with the privileges of the Gitea service account.

Attack Methodology

  • Phase 1: Reconnaissance and Target Identification
    Red Heron scans internet-facing Gitea servers, classifies targets by sector and intelligence value, and prioritizes exposed instances that permit open account registration or otherwise present exploitable conditions.
  • Phase 2: CVE-2026-60004 Exploitation
    The threat actor exploits the vulnerable Gitea patch-processing workflow to achieve remote code execution. Public proof-of-concept code was rapidly adapted into an automated exploitation framework for large-scale use.
  • Phase 3: Repository, Data, and Credential Collection
    After gaining access, Red Heron collects source code, configuration files, application secrets, tokens, SSH-related material, and Gitea database contents, then extracts or cracks credentials that can enable deeper access into the environment.
  • Phase 4: Persistence and Malware Deployment
    The actor establishes additional access through SSH-based persistence, disguised services, and backdoors. Selected systems are also infected with JITTERLY, a Linux post-exploitation implant capable of command execution, file transfer, tunneling, scanning, and remote control.
  • Phase 5: SIXZUT Rootkit and Lateral Movement
    JITTERLY deploys the SIXZUT rootkit to hide malicious files, processes, and network activity. Stolen credentials, SSH access, and network tunnels are then used to pivot from the compromised Gitea server into additional internal systems.
  • Phase 6: Root-Level Infrastructure Compromise
    The intrusion can culminate in privileged access to critical infrastructure. In one documented environment, Red Heron progressed from a compromised Gitea server to administrative control of a three-node Proxmox virtualization cluster.

MITRE ATT&CK Mapping

Technique ID Technique Name Tactic
T1190 Exploit Public-Facing Application Initial Access
T1136 Create Account Persistence
T1059.004 Command and Scripting Interpreter: Unix Shell Execution
T1005 Data from Local System Collection
T1110.002 Brute Force: Password Cracking Credential Access
T1098.004 Account Manipulation: SSH Authorized Keys Persistence

Visual Attack Flow

Mitigation

  1. Upgrade Gitea to version 1.27.1 or later immediately. CVE-2026-60004 affects Gitea versions 1.17 through 1.27.0. Systems still running a vulnerable release, particularly internet-facing installations, should be treated as a high-priority remediation target.
  2. Disable unnecessary open registration. Where public account creation is not operationally required, disable it. Open registration can allow an external attacker to create the repository access required to reach the vulnerable workflow without first compromising an existing account.
  3. Reduce direct internet exposure. Avoid exposing self-hosted Gitea instances directly to the public internet where possible. Place administrative and development infrastructure behind a VPN, identity-aware proxy, authenticated reverse proxy, or other access-control layer.
  4. Review accounts and repositories created after disclosure. Investigate unexpected accounts, temporary repositories, or unusual repository creation activity beginning around the disclosure of CVE-2026-60004. Red Heron's automation created disposable accounts and repositories as part of its exploitation workflow.
  5. Inspect Gitea and reverse-proxy logs. Search for unusual access to Gitea's patch-processing functionality, abnormal account registration, unusual repository activity, and suspicious requests to application endpoints that do not match normal administrative or development behavior.

Instantly Fix Risks with Saner Patch Management

Saner patch management is a continuous, automated, and integrated software that helps organizations rapidly fix vulnerabilities before attackers can exploit the exposure window. The software supports major operating systems such as Windows, Linux, and macOS, along with 550+ third-party applications.

It also allows you to set up a safe testing area to test patches before deploying them in a primary production environment. Saner patch management additionally supports a patch rollback feature in case of patch failure or a system malfunction.

Experience the fastest and most accurate patching software here.

Featured Posts

Open November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities
November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities

CVE Research

November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities

Nov 27, 2026

Open Cacti Zero-Day Enables Unauthenticated Remote Code Execution in Four HTTP Requests
threat intelligenceCacti Zero-Day Enables Unauthenticated Remote Code Execution in Four HTTP Requests

CVE Research

Cacti Zero-Day Enables Unauthenticated Remote Code Execution in Four HTTP Requests

A critical zero-day vulnerability in Cacti could allow unauthenticated attackers to execute arbitrary commands through a four-request exploit chain involving second-order SQL injection and poller configuration manipulation. The flaw affects Cacti 1.2.31 when guest access is enabled, posing serious risks to network monitoring infrastructure.

Nov 27, 2026

Open Drupal Installer Flaw Under Attack: Site Takeover Risk Persists
vulnerability researchDrupal Installer Flaw Under Attack: Site Takeover Risk Persists

CVE Research

Drupal Installer Flaw Under Attack: Site Takeover Risk Persists

CVE-2026-136716 is a highly critical Drupal core installer access-bypass vulnerability that is under active exploitation. An unauthenticated attacker can take over sites left in unusual or incomplete installation states, including some production sites. The earlier fix for CVE-2026-132165 does not cover every affected state. Fixed releases are Drupal Core 11.4.14, 11.3.23, and 10.6.23. This article covers how the flaw works, its relationship to the prior installer issue, impact, and remediation steps.

Nov 27, 2026

Open GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation
GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

CVE Research

GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

The GT13 campaign targeted at least 22 organizations worldwide by exploiting vulnerabilities in exposed services and Check Point Security Management Servers. The attackers used forged authentication sessions, SSH-based persistence, internal reconnaissance, lateral movement, and data exfiltration techniques to compromise systems and access sensitive information.

Nov 26, 2026