Actively exploited · Published Aug 26, 2026 · Assigned by mitre
CVE-2026-60004
Critical 9.8 Exploited
In plain English
A critical-severity code injection in Gitea from Gitea. Attackers are actively exploiting it in the wild (listed by CISA on August 25, 2026). The chance it is exploited in the next 30 days is estimated at 24.0% (higher than 98% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
CISA guidance
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.
Federal agencies must remediate by Aug 28, 2026.
Official description
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | forgejo | 15.0.6-r0 | ALPINE-CVE-2026-60004 |
| Go | code.gitea.io/gitea | no fix listed | GO-2026-6433 |
| Go | gitea.dev | 1.27.1 | GHSA-rcr6-4jqh-j84m |
| Go | gitea.dev | 1.27.1 | GO-2026-6433 |
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H