CVE-2026-60004
Gitea: Remote Code Execution via diffpatch Git Hook Installation
Aktiv ausgenutzt
Diese Schwachstelle steht auf der CISA-Liste Known Exploited Vulnerabilities, aufgenommen am 2026-08-25. Frist für US-Bundesbehörden: 2026-08-28.
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.
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | gitea.dev | >= 1.17.0, < 1.27.1 | 1.27.1 |
Betroffene Produkte · Gitea
| Produkt | Betroffene Versionen |
|---|---|
| Gitea | ab 1.17.0 vor 1.27.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- CISA-KEV-Katalog
- https://github.com/advisories/GHSA-rcr6-4jqh-j84m
- https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m
- https://nvd.nist.gov/vuln/detail/CVE-2026-60004
- https://github.com/go-gitea/gitea/pull/38637
- https://github.com/go-gitea/gitea/pull/38638
- https://github.com/go-gitea/gitea/commit/470d34b1de87d901bd9135564d5ee18c0d339e82
- https://github.com/go-gitea/gitea/commit/d7bc52beeadff4be5f5690de4d5de42abd10affe
- https://blog.gitea.com/release-of-1.27.1
- https://github.com/0xBlackash/CVE-2026-60004
- https://github.com/go-gitea/gitea/releases/tag/v1.27.1
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004
- https://www.runzero.com/blog/gitea
- https://blog.gitea.com/release-of-1.27.1/
- https://www.runzero.com/blog/gitea/