Back to CVE records
Critical 9.8Known exploited (CISA KEV)Published Aug 26, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects Gitea. Add what you run to find out whether that includes you.

CISA lists it as known exploited since Aug 25, 2026; federal agencies had to remediate by Aug 28, 2026. Treat that date as your deadline.

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

CVSS
9.8 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-94
Known exploited
Added to CISA KEV Aug 25, 2026; federal remediation due Aug 28, 2026Apply 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.
EPSS (exploitation in the next 30 days)
23.99% (percentile 98)
Assigned by
mitre
NVD analysis
Analyzed
Record last updated
Sep 8, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Gitea Gitea
gitea:gitea (from the name)
from 1.17 before 1.27.1
CNA record
gitea gitea
gitea:gitea
from 1.17.0 before 1.27.1
NVD

References

  • release-notes
  • exploit, vendor-advisory
  • third-party-advisory
  • exploit, mitigation, third-party-advisory
  • us-government-resource

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.