CVE-2026-60004

CRITICALCISA KEV2 Public PoCs

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

CVSS Score

9.8

FIRST EPSS

99.0%

Observed Hosts

28

Published

2026-08-26

Remediation Guidance

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.

Top Exposed Countries

  • DE4
  • CN4
  • US4
  • RU3
  • GB3
  • SG1
  • AU1
  • IR1

Top Exposed Ports

  • 443 / tcp17
  • 8443 / tcp4
  • 3000 / tcp3
  • 22 / tcp2
  • 80 / tcp2
  • 8080 / tcp1
  • 5000 / tcp1
  • 6002 / tcp1

Observed Software

  • Gitea26
  • OpenSSH1