Gitea Code Injection Vulnerability
CVE-2026-60004 Exploited
Gitea contains a code injection vulnerability that allows an attacker with repository write access to send a malicious patch to the diffpatch API endpoint to plant an executable Git hook and run shell commands as the Gitea service account.
Being exploited in the wild
Catalogued 25 August 2026 · US federal remediation deadline 28 August 2026
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…
Exploit code is also public: Public PoC · Nuclei template
- NucleiGitea <= 1.27.0 - Pre-Auth Remote Code Execution
- Public PoCimbas007/CVE-2026-60004-POC17 stars
- Public PoC0xredash/CVE-2026-600046 stars
- Public PoCHORKimhab/CVE-2026-600045 stars
- Public PoCHackSpeak/CVE-2026-600042 stars
- Public PoCgagaltotal/CVE-2026-60004-poc-gitea2 stars
- Public PoCEQSTLab/CVE-2026-600041 stars
- Public PoCyym8538/CVE-2026-600041 stars
- Public PoCshinthink/CVE-2026-60004
Assessment
- CVSS
- Not yet scored
- Severity
- Unscored
- Known exploited
- Yes — listed in the CISA KEV catalog
- Exploit availability
- CISA KEV, Public PoC, Nuclei template
- Published
- 25 August 2026
- Last updated
- 25 August 2026
- Affected
- Gitea · Gitea
- Weakness
- CWE-94
At the source
References
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-60004