{"cve":{"cve_id":"CVE-2026-60004","is_kev":true,"kev_date_added":"2026-08-25","kev_vendor_project":"Gitea","kev_product":"Gitea","kev_vulnerability_name":"Gitea Code Injection Vulnerability","kev_short_description":"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.","kev_required_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.","kev_due_date":"2026-08-28","kev_known_ransomware":false,"kev_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","kev_cwes":["CWE-94"],"epss_score":null,"epss_percentile":null,"epss_as_of":null,"description":"Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.","published_at":"2026-08-26T19:45:00Z","last_modified_at":"2026-08-27T11:41:19.230000Z","cvss_v3_score":9.8,"cvss_v3_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cvss_v3_severity":"CRITICAL","cvss_v4_score":null,"cvss_v4_vector":null,"cvss_v4_severity":null,"ssvc_decision":null,"ssvc_exploitation":"active","ssvc_automatable":true,"ssvc_technical_impact":"total","cwes":["CWE-94"],"nvd_references":["https://blog.gitea.com/release-of-1.27.1/","https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m","https://www.runzero.com/blog/gitea/","https://github.com/0xBlackash/CVE-2026-60004"],"vuln_status":"Analyzed","trending_score":null,"is_trending":false,"has_trended":false,"trended_number_one":false,"trending_peak_score":null,"trending_peak_rank":null,"started_trending_at":null,"trended_number_one_at":null,"summary_generated":null,"summary_generated_at":null,"summary_model":null,"created_at":"2026-08-25T19:34:35.263839Z","updated_at":"2026-08-27T18:08:22.501854Z"},"effective_severity":"CRITICAL","badges":["kev","poc","news"],"impact_analysis":[],"cvss_v3_decoded":{"version":"3.1","metrics":[{"metric":"AV","name":"Attack Vector","value":"N","value_label":"Network"},{"metric":"AC","name":"Attack Complexity","value":"L","value_label":"Low"},{"metric":"PR","name":"Privileges Required","value":"N","value_label":"None"},{"metric":"UI","name":"User Interaction","value":"N","value_label":"None"},{"metric":"S","name":"Scope","value":"U","value_label":"Unchanged"},{"metric":"C","name":"Confidentiality","value":"H","value_label":"High"},{"metric":"I","name":"Integrity","value":"H","value_label":"High"},{"metric":"A","name":"Availability","value":"H","value_label":"High"}]},"cvss_v4_decoded":{"version":null,"metrics":[]},"affected":[{"vendor_slug":"gitea","vendor_name":"Gitea","product_slug":"gitea","product_name":"Gitea","version_start":"1.17","version_start_inclusive":true,"version_end":"1.27.1","version_end_inclusive":false,"cpe23_uri":"cve5:gitea:gitea:1.17:1.27.1"},{"vendor_slug":"gitea","vendor_name":"Gitea","product_slug":"gitea","product_name":"Gitea","version_start":"1.17.0","version_start_inclusive":true,"version_end":"1.27.1","version_end_inclusive":false,"cpe23_uri":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*"}],"exploit_refs":[{"source":"nuclei","kind":"nuclei","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-60004.yaml","title":"Gitea <= 1.27.0 - Pre-Auth Remote Code Execution","author":"0x_Akoko","disclosed_at":null}],"news":[{"id":1430,"source":"The Hacker News","url":"https://thehackernews.com/2026/08/critical-gitea-rce-actively-exploited.html","title":"Critical Gitea RCE Actively Exploited as Reported Attack Drops Miner-Like Payload","summary":"The U.S. Cybersecurity and Infrastructure Security Agency (CISA) on Tuesday warned of active exploitation efforts targeting a recently patched critical security flaw impacting Gitea.\n\nThe vulnerability in question is CVE-2026-60004 (CVSS score: 9.8), a case of remote code execution that allows an attacker with ordinary write access to a repository to execute arbitrary shell commands as the","thumbnail_url":"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfnIeYEGY0lITUrkeCakPqo92gxAk1t2Rduq3Vvt-EkhAxg_vRxWngUZQjifYgv1MUnKyZMOzTPFtlOpkMfpn6K5V0ofNKBc5w0y4X2Kb3Zeoal_5J-yhUX8oPUHY8KUkDHvGc7mwp5mWm1q4pS8Xssnm13SVe9Ziunr0UeNwTq2smwxIXAP7yU_iY2rtz/s1600/cisa-git.jpg","author":"info@thehackernews.com (The Hacker News)","published_at":"2026-08-26T06:27:07Z","fetched_at":"2026-08-26T07:34:20.583369Z","trending_score":0.7899070781646892,"cve_ids":["CVE-2026-60004"]}],"references":[{"url":"https://blog.gitea.com/release-of-1.27.1/","source_type":"MISC","tags":[]},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m","source_type":"VENDOR_ADVISORY","tags":["advisory"]},{"url":"https://www.runzero.com/blog/gitea/","source_type":"MISC","tags":[]},{"url":"https://github.com/0xBlackash/CVE-2026-60004","source_type":"MISC","tags":[]}],"timeline":[{"type":"cisa_reported","at":"2026-08-25T00:00:00Z","label":"Added to CISA KEV catalog","source":"kev"},{"type":"first_article","at":"2026-08-26T06:27:07Z","label":"First news coverage","source":"The Hacker News"},{"type":"poc_available","at":"2026-08-26T17:38:11.388928Z","label":"Public PoC available","source":"nuclei"},{"type":"published","at":"2026-08-26T19:45:00Z","label":"CVE published","source":null},{"type":"ssvc_changed","at":"2026-08-27T00:40:11.368042Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-08-27T00:40:11.368042Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-08-27T00:40:11.368042Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"cvss_changed","at":"2026-08-27T00:40:11.368042Z","label":"CVSS score revised","source":"vulnrichment"},{"type":"cvss_changed","at":"2026-08-27T00:40:11.368042Z","label":"CVSS score revised","source":"vulnrichment"},{"type":"cvss_changed","at":"2026-08-27T00:40:11.368042Z","label":"CVSS score revised","source":"vulnrichment"}]}