CVE Watchtower

CVE-2026-60004Gitea Gitea Code Injection

NVDCVSS scored by cve@mitre.org

Vulnerability Summary

Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
Severity Level
CRITICAL(9.8)
Published Date
Aug 26, 2026
Last Modified
Aug 27, 2026
PoC
Available(Nuclei)
Exploitation Status
ACTIVE
EPSS Score (30-Day)
23.99%Probability
Root Weakness (CWE)
The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended syntax or behavior.
CVSS v3.1 Base Metrics — Score 9.8 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Gitea Gitea >= 1.17.0 and < 1.27.1
Patched Versions
  • Gitea Gitea 1.27.1

What to do

Patch now. CISA lists this flaw as exploited in the wild and set a federal remediation deadline of Aug 28, 2026.

  1. Check whether you run Gitea Gitea and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. Review logs and exposed services for signs of earlier compromise.

CISA 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 discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

CISA KEV Status

Listed in Known Exploited Vulnerabilities
Added: Aug 25, 2026
Remediation due: Aug 28, 2026 (deadline passed)

Timeline

  • Aug 25, 2026Added to CISA KEV catalog
  • Aug 26, 2026Published
  • Aug 27, 2026Record last modified
  • Aug 28, 2026KEV remediation due date

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Gitea Gitea CVEsYou are reading CVE-2026-60004. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 17, 2026 19:13 UTC