Skip to content
On CISA KEVCritical

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.

Description

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

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CISA KEVAug 25, 2026Aug 28, 2026Not reported
Industry KEV feedAug 19, 2026Aug 28, 2026Not reported
CIRCL KEVAug 25, 2026Aug 28, 2026Not reported
ENISA EUVDAug 25, 2026n/aNot 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
ProductAffected versionsFixed in
GiteaGitea>= 1.17.0, >= 1.171.27.1
forgejoalpineSee advisory15.0.6-r0
gitea-fipschainguardSee advisory1.27.1-r0
gitea-compatminimosSee advisory1.27.1-r0
gitea-fips-compatminimosSee advisory1.27.1-r0
3 more affected products in the full CVE brief

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

  1. Added to Industry KEV feed

    Aug 19, 2026

  2. Added to CISA KEV

    Aug 25, 2026

  3. Added to CIRCL KEV

    Aug 25, 2026

  4. Added to ENISA EUVD

    Aug 25, 2026

  5. Publicly disclosed

    Aug 26, 2026

  6. Last updated

    Nov 5, 2026

Weakness Type

  • CWE-94 Improper Control of Generation of Code

References

15 more references in the full CVE brief

FAQ

Common Questions.

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

More vulnerabilities

Figures as of Dec 2, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.