# CVE-2026-60004 — Gitea

**CISA KEV**

> As of 2026-09-08, CVE-2026-60004 is a CRITICAL-severity vulnerability in Gitea, CVSS v3.1 9.8, EPSS 23.9% (97.7th percentile). It is listed in the CISA Known Exploited Vulnerabilities catalog (added 2026-08-25), with a US federal remediation deadline of 2026-08-28. Threadlinqs Intelligence links 3 tracked threat campaigns to CVE-2026-60004, most recently “Chinese-Speaking 'Kapibala' Actor (Red Heron-Linked) Chains WordPress wp2shell, Zyxel GS1900, and Ubiquiti UniFi OS Flaws to Steal Government Data”.

**Last updated:** 2026-09-08

## What is CVE-2026-60004?

Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.

The record classifies CVE-2026-60004 under weakness class [CWE-94](https://intel.threadlinqs.com/cwe/CWE-94). Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction, and has high impact on confidentiality, integrity, availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 40 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 9.8 — CRITICAL (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **EPSS (FIRST):** 23.9% probability of exploitation in the next 30 days, higher than 97.7% of all scored CVEs
- **CISA KEV:** Listed since 2026-08-25, federal remediation deadline 2026-08-28
- **Threadlinqs priority:** 9/10 — CISA KEV-listed, which Threadlinqs floors at 9
- **Published:** 2026-08-26, last modified 2026-09-08

## Is CVE-2026-60004 being exploited?

CISA added CVE-2026-60004 to the Known Exploited Vulnerabilities catalog on 2026-08-25, which means the agency holds evidence of exploitation in the wild; US federal civilian agencies had to remediate it by 2026-08-28 under BOD 22-01. Weaponised exploit code for CVE-2026-60004 is publicly available. 10 public proof-of-concept repositories are tracked for this identifier. A ProjectDiscovery Nuclei detection template exists (`http/cves/2026/CVE-2026-60004.yaml`). It currently carries a trending score of 66 in the Threadlinqs vulnerability feed.

- [imbas007/CVE-2026-60004-POC](https://github.com/imbas007/CVE-2026-60004-POC) (github)
- [HORKimhab/CVE-2026-60004](https://github.com/HORKimhab/CVE-2026-60004) (github)
- [0xBlackash/CVE-2026-60004](https://github.com/0xBlackash/CVE-2026-60004) (github)
- [HackSpeak/CVE-2026-60004](https://github.com/HackSpeak/CVE-2026-60004) (github)
- [gagaltotal/CVE-2026-60004-poc-gitea](https://github.com/gagaltotal/CVE-2026-60004-poc-gitea) (github)
- [EQSTLab/CVE-2026-60004](https://github.com/EQSTLab/CVE-2026-60004) (github)
- [yym8538/CVE-2026-60004](https://github.com/yym8538/CVE-2026-60004) (github)
- [shinthink/CVE-2026-60004](https://github.com/shinthink/CVE-2026-60004) (github)

## Affected products and versions

- [Gitea](https://intel.threadlinqs.com/vendors/gitea): Gitea

Affected software packages:

- `go:gitea.dev` — patched in 1.27.1

## How to fix CVE-2026-60004

Fixed versions are recorded for 1 package: go:gitea.dev 1.27.1. Vendor advisory: [https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m](https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m). Because CVE-2026-60004 is KEV-listed, US federal civilian agencies were required to apply the vendor fix, or stop using the product, by 2026-08-28. Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.

## Threat activity tracking CVE-2026-60004

3 tracked threats in the Threadlinqs corpus reference CVE-2026-60004, either in the campaign’s CVE list or as an indicator on the campaign record.

- [Chinese-Speaking 'Kapibala' Actor (Red Heron-Linked) Chains WordPress wp2shell, Zyxel GS1900, and Ubiquiti UniFi OS Flaws to Steal Government Data](https://intel.threadlinqs.com/threat/TL-2026-2619) — CRITICAL · 2026-09-22
- [Red Heron Weaponizes Gitea RCE (CVE-2026-60004) with JITTERLY Implant and SIXZUT Rootkit](https://intel.threadlinqs.com/threat/TL-2026-2516) — CRITICAL · 2026-09-14
- [Gitea Remote Code Execution via diffpatch Git Hook Installation (CVE-2026-60004)](https://intel.threadlinqs.com/threat/TL-2026-1767) — CRITICAL · 2026-07-29

## Sources

Enriched from CVE.org, NVD, FIRST EPSS, CISA KEV, GitHub Security Advisories, public proof-of-concept repositories, ProjectDiscovery Nuclei. Last verified by Threadlinqs on 2026-09-29. This product uses the NVD API but is not endorsed or certified by the NVD.

**Other references**

- [blog.gitea.com](https://blog.gitea.com/release-of-1.27.1/)
- [github.com](https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m)
- [runzero.com](https://www.runzero.com/blog/gitea/)
- [github.com (CVE 2026 60004)](https://github.com/0xBlackash/CVE-2026-60004)

Canonical: https://intel.threadlinqs.com/cve/CVE-2026-60004
Full detection coverage and IOCs for threats exploiting CVE-2026-60004 via the Threadlinqs MCP server (Purple tier): https://intel.threadlinqs.com/mcp
