{"id":"DHI-ojby-f3ii-7wdn-odqq","summary":"Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.","details":"Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.","modified":"2026-11-17T12:15:05.931278637Z","published":"2026-11-11T19:38:05Z","upstream":["CVE-2026-60004"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-ojby-f3ii-7wdn-odqq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-60004"},{"type":"ADVISORY","url":"https://www.runzero.com/blog/gitea/"},{"type":"ADVISORY","url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m"},{"type":"ADVISORY","url":"https://github.com/0xBlackash/CVE-2026-60004"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.27.1/"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-60004"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-rcr6-4jqh-j84m"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/pull/38638"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/pull/38637"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/commit/d7bc52beeadff4be5f5690de4d5de42abd10affe"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/commit/470d34b1de87d901bd9135564d5ee18c0d339e82"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/releases/tag/v1.27.1"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2026-6433"}],"affected":[{"package":{"name":"gitea-dev","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/gitea-dev"},"versions":["1.26.4-r1","1.27.0-r1","1.27.0-r2","1.27.1-r0","1.27.1-r1","1.27.1-r2","1.27.1-r3","1.27.2-r0","1.27.2-r1","1.27.2-r2","1.27.2-r3","1.27.2-r4","1.27.3-r0","1.27.3-r1","1.27.3-r10","1.27.3-r11","1.27.3-r12","1.27.3-r13","1.27.3-r14","1.27.3-r15","1.27.3-r16","1.27.3-r17","1.27.3-r18","1.27.3-r19","1.27.3-r2","1.27.3-r20","1.27.3-r3","1.27.3-r4","1.27.3-r5","1.27.3-r7","1.27.3-r8","1.27.3-r9","28.3.0-r0","28.3.0-r1","28.3.0-r2","28.3.0-r3","28.3.0-r4","28.4.0-r0"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ojby-f3ii-7wdn-odqq.json","owner_kind":"HSP"}},{"package":{"name":"gitea-fips-dev","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/gitea-fips-dev"},"versions":["1.26.4-r1","1.27.0-r1","1.27.0-r2","1.27.1-r0","1.27.1-r1","1.27.1-r2","1.27.1-r3","1.27.2-r0","1.27.2-r1","1.27.2-r2","1.27.2-r3","1.27.2-r4","1.27.3-r0","1.27.3-r1","1.27.3-r10","1.27.3-r11","1.27.3-r12","1.27.3-r13","1.27.3-r14","1.27.3-r15","1.27.3-r16","1.27.3-r17","1.27.3-r18","1.27.3-r19","1.27.3-r2","1.27.3-r20","1.27.3-r3","1.27.3-r4","1.27.3-r5","1.27.3-r7","1.27.3-r8","1.27.3-r9","28.3.0-r0","28.3.0-r1","28.3.0-r2","28.3.0-r3","28.3.0-r4","28.4.0-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ojby-f3ii-7wdn-odqq.json"}},{"package":{"name":"gitea-fips","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/gitea-fips"},"versions":["1.26.4-r1","1.27.0-r1","1.27.0-r2","1.27.1-r0","1.27.1-r1","1.27.1-r2","1.27.1-r3","1.27.2-r0","1.27.2-r1","1.27.2-r2","1.27.2-r3","1.27.2-r4","1.27.3-r0","1.27.3-r1","1.27.3-r10","1.27.3-r11","1.27.3-r12","1.27.3-r13","1.27.3-r14","1.27.3-r15","1.27.3-r16","1.27.3-r17","1.27.3-r18","1.27.3-r19","1.27.3-r2","1.27.3-r20","1.27.3-r3","1.27.3-r4","1.27.3-r5","1.27.3-r7","1.27.3-r8","1.27.3-r9","28.3.0-r0","28.3.0-r1","28.3.0-r2","28.3.0-r3","28.3.0-r4","28.4.0-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ojby-f3ii-7wdn-odqq.json"}},{"package":{"name":"gitea","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/gitea"},"versions":["1.26.4-r1","1.27.0-r1","1.27.0-r2","1.27.1-r0","1.27.1-r1","1.27.1-r2","1.27.1-r3","1.27.2-r0","1.27.2-r1","1.27.2-r2","1.27.2-r3","1.27.2-r4","1.27.3-r0","1.27.3-r1","1.27.3-r10","1.27.3-r11","1.27.3-r12","1.27.3-r13","1.27.3-r14","1.27.3-r15","1.27.3-r16","1.27.3-r17","1.27.3-r18","1.27.3-r19","1.27.3-r2","1.27.3-r20","1.27.3-r3","1.27.3-r4","1.27.3-r5","1.27.3-r7","1.27.3-r8","1.27.3-r9","28.3.0-r0","28.3.0-r1","28.3.0-r2","28.3.0-r3","28.3.0-r4","28.4.0-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ojby-f3ii-7wdn-odqq.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}