CISO Voice

Breaches & Vulnerabilities / News

Chinese hackers turned a Gitea PoC into an attack framework within days of disclosure

Red Heron compromised organizations in five countries, with election and government systems among its targets.

Akshaya Asokan
Akshaya Asokan Cybersecurity Reporter · September 16, 2026 · 3 min read
Suspected Chinese hacking group exploited Gitea n-day

A Chinese-speaking espionage group weaponized an n-day flaw in self-hosted source-code management platform Gitea to steal source code and credentials from organizations across five countries.

An n-day flaw is a vulnerability that has been publicly disclosed, often with a patch available, but remains unpatched on many devices.

Cybersecurity firm Acronis uncovered the campaign, attributing it to a threat group it tracks as Red Heron. The campaign, described in a technical write-up published on Sept. 13, exploited CVE-2026-60004, which is a critical remote code execution flaw scoring 9.8 on the CVSS scale that impacts Gitea versions from 1.17 to 1.27.0.

“Within days of the vulnerability’s July 2026 disclosure, Red Heron transformed public proof-of-concept (PoC) code into an automated framework capable of registering accounts, exploiting vulnerable servers, stealing repositories, and removing selected traces,” Acronis said. “The campaign demonstrates how quickly n-day vulnerabilities in self-hosted development platforms can expose source code, credentials, secrets, and connected infrastructure.”

Once the victim organizations were compromised, the hacking group pivoted to source code and credential theft. In one Taiwanese environment, the actor progressed from a vulnerable Gitea server to root-level access across a three-node Proxmox cluster, Acronis said.

The company assessed with moderate confidence that Red Heron is a Chinese threat group based on the group’s use of the Chinese language and operational metadata that classified Taiwan as a region of China. It said it had not identified sufficient evidence linking the group to any previously tracked threat actor.

Acronis recorded confirmed compromises in Canada, Argentina, Taiwan, the US, and Sri Lanka, with the most heavily targeted victim a Canadian renewable energy company. Red Heron classified its targets under sector labels covering defense, elections, energy, aerospace, telecommunications, government, and research.

Exploiting Gitea n-day

The flaw, which sits in Gitea’s diffpatch endpoint, was disclosed in July. The flaw is triggered when a repository patch is processed, which causes a three-way merge fallback on servers running Git 2.32 or newer. Gitea patched it in version 1.27.1 on July 27 and published the advisory and a working PoC the following day.

To exploit the flaw, Red Heron forked a PoC uploaded to GitHub repository HORKimhab/CVE-2026-60004 and extended it into an automated exploitation framework. 

Although the vulnerable route requires repository write access, Gitea ships with open registration enabled by default, meaning an outside attacker can register an account and complete the chain without existing credentials, Acronis said.

To carry out the hack, the group used 50 concurrent automated registration probes to scan 1,386 Gitea instances across seven countries. Among implants used by the threat group were JITTERLY, a C++ Linux implant supporting more than 30 post-exploitation commands, such as shell execution, file transfer, and network tunnelling.

Another such implant was a previously unseen Linux rootkit dubbed SIXZUT by Acronis. “The rootkit can conceal files, processes, and network connections, protect JITTERLY from termination, and relaunch it if it is stopped or removed.”

Although Gitea has patched the flaw, Acronis recommends users take additional measures. These include disabling open registration on any instance, reviewing accounts and repositories created, and auditing authorized_keys.

Akshaya Asokan
Akshaya Asokan Cybersecurity Reporter

Akshaya Asokan is a U.K.-based cybersecurity and technology journalist with experience covering nation‑state hacking operations, cyber and tech policy, and emerging cybercrime trends. She previously served as the senior European cybersecurity correspondent for Information Security Media Group’s Global News Desk. Before that, she reported on IT developments for IDG Media and covered artificial intelligence and machine learning for Analytics India Magazine. Earlier in her career, she wrote on sexual and religious minority rights as a reporter for The New Indian Express.

Keep reading for free,
one signup unlocks everything

We'll send you the CISO Voice newsletter. Unsubscribe anytime.

More from CISO Voice

Sign up to CISO Voice, the free newsletter trusted by senior security leaders.

Secret Link