← All CVEs

CVE-2026-60004

CRITICAL 9.8 KNOWN EXPLOITED PoC AVAILABLE

Published 2026-08-26 · Last modified 2026-08-26

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

ACTIVELY EXPLOITED

Confirmed exploited in the wild — in CISA KEV since 2026-08-25. Patch or mitigate now.

Exploitation likelihood

84.6%chance of exploitation in 30 days · 100th percentile

● In CISA KEV (2026-08-25) ● Public exploit / PoC

Impact if exploited

9.8CVSS 3.1 · CRITICAL

  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh

What an attacker needs

  • Access: Reachable over the network — no local access needed
  • Privileges: No account or privileges required
  • User interaction: No user interaction needed
  • Complexity: No special conditions — reliably repeatable

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept & exploit code

Test against your own equipment

nuclei -id CVE-2026-60004 -u https://TARGETDetection template — non-destructive check that a target is affected.
curl -s https://vulnpedia.com/cve/CVE-2026-60004/poc.jsonMachine-readable PoC index for this CVE (for automation).

Listed for defensive triage, patch verification, and authorized testing on systems you own. Machine-readable: /cve/CVE-2026-60004/poc.json

Affected

Vendors Gitea

Products Gitea

Weakness (CWE)

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Known Affected Software Configurations

VendorProductVersion range
GiteaGitea≥ 1.17.0 and < 1.27.1

All CVSS metrics

  • CRITICAL 9.8 v3.1 · CNA Primary
    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CRITICAL 9.8 v3.1 · NVD Secondary
    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Sources: NVD · CVE.org · EPSS