CVE-2026-60004Gitea Code Injection
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
Published Aug 26, 2026 · Updated Nov 5, 2026 · Also known as ALPINE-CVE-2026-60004, BIT-gitea-2026-60004, CGA-22cf-47g3-fpvg, CGA-4jvh-446h-fg82, CGA-52cp-rqwc-qg78, CGA-f9cp-p2mf-hmjw, EUVD-2026-66708, GHSA-rcr6-4jqh-j84m, GO-2026-6433, MINI-252m-7m6c-8xmj, MINI-rx98-74qr-5jgg
Key Facts
Patch immediately- CVE-2026-60004 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Gitea, forgejo (alpine), gitea-fips (chainguard) and 5 more products.
- It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Aug 19, 2026. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 24% probability of exploitation in the next 30 days.
- Fixed versions are available, including forgejo 15.0.6-r0, Gitea 1.27.1, Gitea 1.27.1-r0.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
24%
Higher than 98.3% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
55/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Aug 25, 2026
-1 days after publication
Federal due date
Aug 28, 2026
Overdue
Ransomware use
Not reported
Attributed actors
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
12
Reports of active use
Required action (CISA): 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.
Advisories And Exploit References
Description
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CISA KEV | Aug 25, 2026 | Aug 28, 2026 | Not reported |
| Industry KEV feed | Aug 19, 2026 | Aug 28, 2026 | Not reported |
| CIRCL KEV | Aug 25, 2026 | Aug 28, 2026 | Not reported |
| ENISA EUVD | Aug 25, 2026 | n/a | Not reported |
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.
Affected Products
35 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| GiteaGitea | >= 1.17.0, >= 1.17 | 1.27.1 |
| forgejoalpine | See advisory | 15.0.6-r0 |
| gitea-fipschainguard | See advisory | 1.27.1-r0 |
| gitea-compatminimos | See advisory | 1.27.1-r0 |
| gitea-fips-compatminimos | See advisory | 1.27.1-r0 |
Patched Releases
forgejo
15.0.6-r0
Gitea
1.27.1, 1.27.1-r0
gitea-compat
1.27.1-r0
gitea-fips
1.27.1-r0
gitea-fips-compat
1.27.1-r0
gitea.dev
1.27.1
govulncheck-vulndb
0.0.20260916T180043-160000.1.1
Timeline
Added to Industry KEV feed
Aug 19, 2026
Added to CISA KEV
Aug 25, 2026
Added to CIRCL KEV
Aug 25, 2026
Added to ENISA EUVD
Aug 25, 2026
Publicly disclosed
Aug 26, 2026
Last updated
Nov 5, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2026-60004
- advisorysecurity.alpinelinux.org · CVE-2026-60004
- advisoryGHSA advisory
- exploitVulnCheck exploitation report
FAQ
Common Questions.
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
Affected: Gitea versions >= 1.17.0, >= 1.17; forgejo (alpine); gitea-fips (chainguard), among others. The full list is in the CVE brief.
It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Aug 19, 2026.
Yes. It was added on Aug 25, 2026 with a federal remediation due date of Aug 28, 2026.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including forgejo 15.0.6-r0, Gitea 1.27.1, Gitea 1.27.1-r0.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2026-60004 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo