{"cve":"CVE-2026-60004","nvd":{"published":"2026-08-26T20:17:56.010","modified":"2026-08-27T11:41:19.230","status":"Analyzed","description":"Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-94"],"references":["https://blog.gitea.com/release-of-1.27.1/","https://github.com/0xBlackash/CVE-2026-60004","https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m","https://www.runzero.com/blog/gitea/","https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004"],"products":["gitea:gitea"],"source":"nvd","synced_at":"2026-10-19T22:50:17.453294893+00:00"},"epss":{"cve":"CVE-2026-60004","score":0.23988,"percentile":0.97841,"date":"2026-10-31"},"kev":{"cve":"CVE-2026-60004","date_added":"2026-08-25","due_date":"2026-08-28","vendor":"Gitea","product":"Gitea","known_ransomware":false},"osv":[{"id":"GHSA-rcr6-4jqh-j84m","url":"https://osv.dev/vulnerability/GHSA-rcr6-4jqh-j84m","summary":"Gitea: Remote Code Execution via diffpatch Git Hook Installation","modified":"2026-09-10T15:25:46.385543493Z","packages":[{"ecosystem":"Go","name":"gitea.dev","purl":"pkg:golang/gitea.dev","ranges":[">=1.17.0 <1.27.1"],"fixed":["1.27.1"]}]},{"id":"GO-2026-6433","url":"https://osv.dev/vulnerability/GO-2026-6433","summary":"Gitea: Remote Code Execution via diffpatch Git Hook Installation in gitea.dev","modified":"2026-09-10T15:25:46.385543493Z","packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":[">=1.17.0"],"fixed":[]},{"ecosystem":"Go","name":"gitea.dev","purl":"pkg:golang/gitea.dev","ranges":["<1.27.1"],"fixed":["1.27.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}