All vulnerabilities

Servers and applications

CVE-2026-60004

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

Actively exploited: CISA added it to its Known Exploited Vulnerabilities catalog on 25 Aug 2026.

Severity
Critical 9.8
Published
26 Aug 2026
Last changed
27 Aug 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.27.1
Exploit chance
24% in the next 30 daysHigher than 97% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Code injection (CWE-94)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Sources
NVD

Affected software

SoftwareAffected versions
GiteaServers and applications · cpe:a:gitea:gitea
  • From 1.17.0 before 1.27.1

About Gitea

free forge based on git written in Go

From Wikidata, CC0 1.0.
Docker Hub pulls
395,154,663Docker Hub, 15 Nov 2026
GitHub stars
59,090GitHub, 15 Nov 2026
Forks
7,394GitHub, 15 Nov 2026
Latest release
v28.3.0GitHub, 15 Nov 2026
Released
1 Nov 2026GitHub
Developer
Jiahua ChenWikidata
License
MIT LicenseWikidata
Written in
Go, JavaScriptWikidata
First released
17 Oct 2016Wikidata
First published on GitHub
1 Nov 2016GitHub

Known exploited

CISA name
Gitea Code Injection Vulnerability
Required action
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or…
Due for US agencies
28 Aug 2026
Used in ransomware
Not known

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-60004
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-60004