CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2026-60004: Gitea Code Injection Vulnerability

criticalknown exploitedpublic exploitCVE-2026-60004
Actively exploited. At least one CVE in this advisory is listed in the CISA Known Exploited Vulnerabilities catalog — exploitation has been observed in the wild. Treat remediation as urgent.
Gitea contains a code injection vulnerability that allows an attacker with repository write access to send a malicious patch to the diffpatch API endpoint to plant an executable Git hook and run shell commands as the Gitea service account.

CSIRTS triage

What
A code injection vulnerability in the diffpatch API allows attackers with repository write access to inject malicious Git hooks and execute arbitrary shell commands as the Gitea service account.
Who is affected
Gitea instances prior to 1.27.1 with exposed diffpatch API endpoints.
Urgency
Critical; confirmed actively exploited with evidence of malicious cyber actor activity.
Action
Upgrade to Gitea 1.27.1 or later without delay.

AI-assisted analysis generated from the source advisory — verify against the original.

⚡ Watch Gitea

Get an email when a new Gitea advisory drops — max one per day, one-click unsubscribe.

Details

Source
CISA Known Exploited Vulnerabilities (US · database · site)
Severity
critical
Published
2026-08-25
Exploitation
Observed in the wild (CISA KEV)

Original advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-60004

Exploitation outlook

EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.

Referenced CVEs

CVECSIRTS overviewExternal
CVE-2026-60004coverage & exploitation statusNVD · CVE.org

Same CVEs, other sources

How other CERTs, PSIRTs and databases cover the vulnerabilities in this advisory.

More from CISA Known Exploited Vulnerabilities