SecurityOnlineDo Son
Chinese-Linked Hackers Exploit Critical Gitea Flaw to Steal Data
Part of the CVE-2026-60004 story · since 29 Jul
- Wed 29 Jul, 10:11 UTC. SecurityOnline, first report. CVE-2026-60004: Gitea RCE lets attackers run code via Git hook. Cites a CVE in CISA KEV.
- Tue 25 Aug, 22:43 UTC. CISA, its first report on the story. CISA Flags Gitea Code Injection Flaw in KEV Catalogue. Cites a CVE in CISA KEV.
- Wed 26 Aug, 05:50 UTC. SecurityWeek, its first report on the story. CISA Warns of Exploited Gitea Flaw CVE-2026-60004 Patch by Aug 28. Cites a CVE in CISA KEV.
- Wed 26 Aug, 09:45 UTC. Security Affairs, its first report on the story. CISA Adds Critical Gitea Flaw CVE-2026-60004 to Exploit List. Cites a CVE in CISA KEV.
- Wed 26 Aug, 14:26 UTC. CISA. CISA's KEV Catalog Adds Gitea Flaw, Urges Prompt Patching. Cites a CVE in CISA KEV.
- Mon 31 Aug, 02:31 UTC. SecurityOnline. Weekly CVE Report: 11 Exploited Flaws Added to KEV. Cites a CVE in CISA KEV.
- Tue 15 Sep, 04:41 UTC. SecurityOnline. Chinese-Linked Hackers Exploit Critical Gitea Flaw to Steal Data. Cites a CVE in CISA KEV. This article, 7th of 7.
Acronis Threat Research Unit says a Chinese-speaking, state-linked actor tracked as Red Heron is exploiting a critical Gitea remote-code-execution flaw, CVE-2026-60004, in attacks against exposed self-hosted instances. The vulnerability affects Gitea versions 1.17.0 through 1.27.0 and has a CVSS v3 score of 9.8.
Acronis reportedly observed scanning of 1,386 servers across seven countries, with confirmed intrusions involving organisations in Canada, Argentina, Taiwan, the United States and Sri Lanka, including targets in defence, election infrastructure, aerospace and renewable energy.
The flaw is in Gitea’s diffpatch endpoint. By submitting the same crafted patch twice, an attacker can exploit Git’s merge handling to write a file into the active hook directory of a temporary bare repository. The hook then executes with the privileges of the Gitea service account. According to the report, attackers could register accounts on installations where public registration remained enabled, meaning authentication was not necessarily required beforehand.
The campaign allegedly involved repository theft, database and credential collection, and attempts to remove selected traces. In some environments, the attackers moved into virtualisation infrastructure and deployed the JITTERLY backdoor alongside the SIXZUT Linux rootkit, which hides processes, files and network connections.
Gitea fixed the issue in version 1.27.1 by changing temporary clones from bare to non-bare repositories. Administrators are urged to upgrade immediately, disable unnecessary public registration, examine repositories for recently created Git hooks, investigate suspicious processes and libraries, and rotate deploy keys, tokens and administrative credentials.
How the story developed
7 articles from 4 outlets since 29 Jul. Quiet since 15 Sep. This was the 7th report, 48 days after the first.
- Wed 29 Jul, 10:11 UTC. SecurityOnline, first report. CVE-2026-60004: Gitea RCE lets attackers run code via Git hook. Cites a CVE in CISA KEV.
- Tue 25 Aug, 22:43 UTC. CISA, its first report on the story. CISA Flags Gitea Code Injection Flaw in KEV Catalogue. Cites a CVE in CISA KEV.
- Wed 26 Aug, 05:50 UTC. SecurityWeek, its first report on the story. CISA Warns of Exploited Gitea Flaw CVE-2026-60004 Patch by Aug 28. Cites a CVE in CISA KEV.
- Wed 26 Aug, 09:45 UTC. Security Affairs, its first report on the story. CISA Adds Critical Gitea Flaw CVE-2026-60004 to Exploit List. Cites a CVE in CISA KEV.
- Wed 26 Aug, 14:26 UTC. CISA. CISA's KEV Catalog Adds Gitea Flaw, Urges Prompt Patching. Cites a CVE in CISA KEV.
- Mon 31 Aug, 02:31 UTC. SecurityOnline. Weekly CVE Report: 11 Exploited Flaws Added to KEV. Cites a CVE in CISA KEV.
- Tue 15 Sep, 04:41 UTC. SecurityOnline. Chinese-Linked Hackers Exploit Critical Gitea Flaw to Steal Data. Cites a CVE in CISA KEV. This article, 7th of 7.
- Known exploited CVE
- No CVE
- Larger: an outlet’s first report
- Square: official source
- Coverage over time
- Quiet time, folded
Show all 7 articles as a listHide the list
- Wed 29 JulDay 01
- CVE-2026-60004: Gitea RCE lets attackers run code via Git hook10:11 · SecurityOnline · First report · Exploited CVE · Known exploited CVE
Quiet for 4 weeks
Tue 25 AugDay 271- CISA Flags Gitea Code Injection Flaw in KEV Catalogue22:43 · CISA · official · CISA alert · Picked up again · Known exploited CVE
- Wed 26 AugDay 283
- CISA Warns of Exploited Gitea Flaw CVE-2026-60004 Patch by Aug 2805:50 · SecurityWeek · Known exploited CVE
- CISA Adds Critical Gitea Flaw CVE-2026-60004 to Exploit List09:45 · Security Affairs · Known exploited CVE
- CISA's KEV Catalog Adds Gitea Flaw, Urges Prompt Patching14:26 · CISA · official · Known exploited CVE
Quiet for 5 days
Mon 31 AugDay 331- Weekly CVE Report: 11 Exploited Flaws Added to KEV02:31 · SecurityOnline · Picked up again · Known exploited CVE
Quiet for 2 weeks
Tue 15 SepDay 481- Chinese-Linked Hackers Exploit Critical Gitea Flaw to Steal Data04:41 · SecurityOnline · Picked up again · Known exploited CVE · This article, 7th of 7