Security
Loading…

CVE-2026-70402

MEDIUMCVSS 5.8
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.

Timeline
Published:October 14th, 2026 3:17 PM
Last modified:October 14th, 2026 4:17 PM
CVSS Scoring

CVSS v3: 5.8 (MEDIUM)

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

Weaknesses (CWE)

Source: NIST NVD · Data may lag official sources by up to one minute