{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-60004","published":"2026-08-26T20:17:56.010000Z","last_modified":"2026-08-27T11:41:19.230000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"cve@mitre.org","primary":false},"auth":false,"cwes":["CWE-94"],"cpes":[{"criteria":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*","part":"a","vendor":"gitea","product":"gitea","version_start_including":"1.17.0","version_end_excluding":"1.27.1"}],"cpes_truncated":false,"vendors":["gitea"],"products":["gitea/gitea"],"ssvc":{"exploitation":"active","automatable":"yes","technical_impact":"total"},"kev":{"date_added":"2026-08-25","due_date":"2026-08-28","ransomware":false,"forensic_triage":true,"cwes":["CWE-94"]},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GO-2026-6433","ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":[{"introduced":"1.17.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-rcr6-4jqh-j84m","ecosystem":"Go","name":"gitea.dev","purl":"pkg:golang/gitea.dev","ranges":[{"introduced":"1.17.0","fixed":"1.27.1"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-6433","ecosystem":"Go","name":"gitea.dev","purl":"pkg:golang/gitea.dev","ranges":[{"introduced":"0","fixed":"1.27.1"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-60004/","html_en":"/en/cve/CVE-2026-60004/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-60004","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-60004"},"untrusted":{"vendor_name":"Gitea","product_name":"Gitea","desc_en":"Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.","affected":[{"untrusted_vendor":"Gitea","untrusted_product":"Gitea","versions":[]}],"kev":{"vendor":"Gitea","product":"Gitea","name":"Gitea Code Injection Vulnerability","desc":"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.","action":"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.","notes":"https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2026-60004"},"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"f9d98a5401b1060dc765d4fdcf52bdee","generated":"2026-11-26T23:33:26.507408Z","es":{"untrusted_title":"Inyección de código remoto sin autenticación en Gitea a través de API diffpatch","untrusted_summary":"Gitea anterior a la versión 1.27.1 permite la ejecución remota de código sin autenticación a través de la API diffpatch mediante la instalación de hooks de Git. Un atacante puede enviar un parche malicioso para ejecutar comandos de shell con los permisos de la cuenta de servicio de Gitea. CISA ha confirmado que esta vulnerabilidad está siendo explotada activamente."},"en":{"untrusted_title":"Remote Code Injection without Authentication in Gitea via diffpatch API","untrusted_summary":"Gitea before version 1.27.1 allows unauthenticated remote code execution through the diffpatch API via Git hook installation. An attacker can send a malicious patch to execute shell commands with the privileges of the Gitea service account. CISA has confirmed this vulnerability is actively exploited."},"remediation":{"status":"fix","fixed_versions":["1.27.1"],"untrusted_action_es":"Actualiza Gitea a la versión 1.27.1 o superior de inmediato. Si no puedes actualizar, desactiva el acceso a la API diffpatch o restringe el acceso a usuarios de confianza.","untrusted_action_en":"Update Gitea to version 1.27.1 or later immediately. If you cannot update, disable access to the diffpatch API or restrict access to trusted users.","vendor_url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m"},"reviewed":false},"references":[{"url":"https://blog.gitea.com/release-of-1.27.1/","tags":["Release Notes"]},{"url":"https://github.com/0xBlackash/CVE-2026-60004","tags":["Exploit","Mitigation","Third Party Advisory"]},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m","tags":["Exploit","Vendor Advisory"]},{"url":"https://www.runzero.com/blog/gitea/","tags":["Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004","tags":["US Government Resource"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:21897-1","url":"https://www.suse.com/support/update/","published":"2026-09-21T12:36:27+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}},{"source":"suse","id":"SUSE-SU-2026:23855-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202623855-1/","published":"2026-09-21T12:24:57+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}},{"source":"suse","id":"SUSE-SU-2026:23863-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202623863-1/","published":"2026-09-21T12:24:57+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}}],"social":{"people":1,"posts":1,"window_days":30}}