Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-70402
VULNERABILITY

CVE-2026-70402

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

CVSS
5.8
Severity
MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L

Timeline

Published
Oct 14, 2026 15:17
Modified
Oct 14, 2026 16:17
Last observed
Oct 15, 2026 16:31

CWE

CWE-732

References