CVE-2026-70402CWE-732

CVE-2026-70402

Medium · published October 14, 2026

CVSS v3.1
5.8
EPSS
0%
Percentile
8.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.8 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.00189 · 8.1th percentile
Weakness
CWE-732 · Incorrect Permission Assignment for Critical Resource
Published
2026-10-14T19:17Z
References (5)
EPSS history
Timeline
  • 16 OCT 03:32Z
    EPSS moved — → 0%
    epss
  • 14 OCT 14:36Z
    Gitea local code execution through writable Git hooks
    cvelistv5
  • 14 OCT 14:36Z
    Gitea local code execution through writable Git hooks
    cvelistv5