CVE-2026-60004
CVE-2026-60004 is a critical-severity vulnerability in Gitea with a CVSS 3.x base score of 9.8. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2026-08-25). The underlying weakness is classified as CWE-94.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 24% (98th percentile)
- Actively exploited: Yes — listed in CISA KEV (added 2026-08-25)
- Weakness: CWE-94
- Affected product: Gitea
- Published:
- Last modified:
Description
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
Frequently asked questions
- What is CVE-2026-60004?
- Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
- How severe is CVE-2026-60004?
- CVE-2026-60004 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-60004 being actively exploited?
- Yes. CVE-2026-60004 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2026-08-25, which means active exploitation has been confirmed. It should be prioritised for remediation.
- What products are affected by CVE-2026-60004?
- CVE-2026-60004 affects Gitea. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-60004?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
- When was CVE-2026-60004 published?
- CVE-2026-60004 was published on 2026-08-26 and last updated on 2026-08-27.
References
- https://blog.gitea.com/release-of-1.27.1/
- https://github.com/0xBlackash/CVE-2026-60004
- https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m
- https://www.runzero.com/blog/gitea/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004
Affected products (1)
- cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*
More vulnerabilities in Gitea
- CVE-2026-94205 — Critical (CVSS 9.8): Gitea Actions decided whether a fork pull request run needed approval based on the user who triggered the event rather…
- CVE-2026-73278 — Critical (CVSS 9.8): Gitea's OAuth2 and OpenID Connect sign-in paths do not require a WebAuthn challenge when WebAuthn is the account's only…
- CVE-2022-42968 — Critical (CVSS 9.8): Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.
- CVE-2021-45331 — Critical (CVSS 9.8): An Authentication Bypass vulnerability exists in Gitea before 1.5.0, which could let a malicious user gain privileges.…
- CVE-2021-45330 — Critical (CVSS 9.8): An issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies…
- CVE-2021-45327 — Critical (CVSS 9.8): Gitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable…
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-71499 — Critical (CVSS 10.0): cf-manager is an all-in-one dashboard for managing multiple Cloudflare accounts and services. Prior to 1.1.2,…
- CVE-2026-78287 — Critical (CVSS 10.0): Improper Control of Generation of Code ('Code Injection') vulnerability in Staggs STAGGS staggs allows Remote Code…
- CVE-2026-115252 — Critical (CVSS 10.0): The Confection WordPress Cable WordPress plugin from 0.4.0 to 0.4.7 does not perform any capability or nonce checks…
- CVE-2026-120338 — Critical (CVSS 10.0): Prefab UI's Generative UI sandbox runs caller-supplied Python inside Pyodide, Python compiled to WebAssembly, in a Deno…
- CVE-2026-61991 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in AjaxLoadMore Cache <= 3.1.1 versions.
- CVE-2026-61564 — Critical (CVSS 10.0): AVideo is a video-sharing Platform. Prior to 8.1.0, the unauthenticated installer endpoint…
Browse all CWE-94 (Code Injection) vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 117.24.243.99 (ipv4-addr)
- 46.101.176.4 (ipv4-addr)
- 1.94.4.74 (ipv4-addr)
- 223.223.177.99 (ipv4-addr)
- 94.5.100.58 (ipv4-addr)
- 103.115.40.171 (ipv4-addr)