עברית

Vulnerability Intelligence

CVE-2026-70402

Medium 5.8

Published
Last modified
NVD status
Deferred

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.

References5

Metrics

CVSS 3.1
5.8 MEDIUM Score source: CNA CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
EPSS — exploit probability
0% percentile: 9 · as of 11 November 2026
CWE
CWE-732

Could this be exploited in your environment?

A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.