{"schema":"threatline.record/2","record":{"id":"CVE-2026-60004","aliases":["BIT-gitea-2026-60004","GHSA-rcr6-4jqh-j84m","GO-2026-6433"],"summary":"Gitea Code Injection Vulnerability","details":"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.","categories":["Libraries & packages"],"product":"Gitea","vendor":"Gitea","ecosystem":"Go","affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-60004","source_modified_at":"2026-09-08T18:03:21.873Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"Gitea","vendor":"Gitea","versions":[{"lessThan":"1.27.1","status":"affected","version":"1.17","versionType":"custom"}],"defaultStatus":"unaffected"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-rcr6-4jqh-j84m","source_modified_at":"2026-09-10T15:25:46.385543493Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"Go","name":"gitea.dev","purl":"pkg:golang/gitea.dev"},"ranges":[{"events":[{"introduced":"1.17.0"},{"fixed":"1.27.1"}],"type":"SEMVER"}],"versions":[]}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-60004","source_modified_at":"2026-09-08T18:03:21.873Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Gitea","ecosystem":null},"version":"1.27.1","basis":"first unaffected version stated in the CVE record"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-rcr6-4jqh-j84m","source_modified_at":"2026-09-10T15:25:46.385543493Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"Go","name":"gitea.dev","purl":"pkg:golang/gitea.dev"},"version":"1.27.1"}],"cvss":9.8,"severity":"Critical","kev":{"listed":true,"date_added":"2026-08-25","due_date":"2026-08-28","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.","ransomware_campaign_use":"Unknown","forensic_triage":true},"epss":{"probability":0.23988,"percentile":0.97841,"score_date":"2026-10-23"},"published_at":"2026-08-26T19:45:00.000Z","modified_at":"2026-09-10T15:25:46.385543493Z","provenance":[{"source":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23T17:00:09.9001Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-60004","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-08T18:03:21.873Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-rcr6-4jqh-j84m","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-10T15:25:46.385543493Z"},{"source":"Nuclei","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-60004.yaml","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":null},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-60004","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CISA KEV","CVE List","OSV","Nuclei","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-60004","source":"CISA KEV"},{"source":"CVE List","url":"https://blog.gitea.com/release-of-1.27.1/"},{"source":"CVE List","url":"https://www.runzero.com/blog/gitea/"},{"source":"CVE List","url":"https://github.com/0xBlackash/CVE-2026-60004"},{"source":"CVE List","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004","tags":["government-resource"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"active","automatable":"yes","technical_impact":"total","assessed_at":"2026-08-26T20:21:46.783249Z"},"exploits":[{"kind":"Scanner template","name":"Gitea <= 1.27.0 - Pre-Auth Remote Code Execution","source":"Nuclei","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-60004.yaml"}],"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-09-10T15:25:46.385543493Z","content_hash":"0d43d6ead2c277740dcd1eb710692c595c4628c66e7a368de255ad7d909900d5"}}
