CVE-2026-60004
CRITICAL 9.8 KNOWN EXPLOITED PoC AVAILABLEGitea 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
- nuclei Nuclei detection template
- reference https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m
- reference https://github.com/0xBlackash/CVE-2026-60004
- github-search Search GitHub for public PoC repos
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
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
| Vendor | Product | Version range |
|---|---|---|
| Gitea | Gitea | ≥ 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