{"id":"CVE-2026-70402","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-70402","generatedAt":"2026-10-28T03:24:11.391Z","title":"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.","description":"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.","published":"2026-10-14T15:17:22.000Z","lastModified":"2026-10-14T16:17:52.000Z","status":"Deferred","sourceIdentifier":"88ee5874-cf24-4952-aea0-31affedb7ff2","cvss":{"version":"3.1","score":5.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L"},"cwe":["CWE-732"],"affected":[],"epss":{"score":0.00189,"percentile":0.08507,"date":"2026-10-26","history":[{"date":"2026-10-15","score":0.00189,"percentile":0.08024}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.19%). Track it; it rarely justifies an emergency change on its own."},"changes":[{"kind":"scored","label":"Newly scored","at":"2026-10-14T17:45:19.000Z","detail":{"from":null,"score":"5.8","severity":"MEDIUM","fromSeverity":null},"summary":"Now scored CVSS 5.8 MEDIUM."},{"kind":"new","label":"New CVE","at":"2026-10-14T15:17:22.000Z","detail":{"score":null,"severity":null,"publishedAt":"2026-10-14T15:17:22.467Z"},"summary":"New CVE, medium severity (CVSS 5.8)."}],"references":[{"url":"https://blog.gitea.com/release-of-1.27.3/","source":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/pull/39008","source":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/pull/39016","source":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.27.3","source":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-pq8x-xpgp-rvmh","source":"88ee5874-cf24-4952-aea0-31affedb7ff2"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-70402","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}