{"id":"DHI-z4du-yqfa-w6tp-2le3","summary":"Gitea creates server-side Git hook directories and scripts with mode 0777 and relies on the process umask to restrict…","details":"Gitea creates server-side Git hook directories and scripts with mode 0777 and relies on the process umask to restrict access. With a permissive umask such as 0000 or 0002, another local user who can reach the repository storage may modify a hook or add an executable to a writable hook directory. A later Git operation can execute that file as the Gitea service account.","modified":"2026-11-17T12:15:10.583145949Z","published":"2026-11-12T01:41:48Z","upstream":["CVE-2026-70402"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-z4du-yqfa-w6tp-2le3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70402"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-70402"}],"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":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-z4du-yqfa-w6tp-2le3.json"}},{"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-z4du-yqfa-w6tp-2le3.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-z4du-yqfa-w6tp-2le3.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-z4du-yqfa-w6tp-2le3.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L"}]}