VDB
CVE-2026-70402
CVE-2026-70402
PUBLISHED
CVSS 5.8 MEDIUM
Reported by Gitea · Published October 14, 2026
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 Scores
CVSS 3.1
5.8
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | 0 |
| Gitea | Gitea | 0 |
| alpine | gitea | 0 |
Timeline
- Oct 14, 2026 CVE Published
- Oct 14, 2026 CVE Updated
- Oct 15, 2026 EPSS Score
- Oct 21, 2026 EPSS Score
- Oct 25, 2026 EPSS Score
- Oct 30, 2026 EPSS Score
References
- GitHub Security Advisory GHSA-pq8x-xpgp-rvmh vendor-advisory
- Gitea 1.27.3 release announcement release-notes
- Fix: go-gitea/gitea pull request #39008 patch
- Fix: go-gitea/gitea pull request #39016 patch
- go-gitea/gitea v1.27.3 release release-notes