Disclosure 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.
Source-reported weakness categories
CWE-732
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
NIST NVD · nvd:CVE-2026-70402
Open original source · Updated Oct 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.
Source severity: MEDIUM / 5.8
Original records & references
- NIST NVD record
- CVE Program record
- 88ee5874-cf24-4952-aea0-31affedb7ff2
- 88ee5874-cf24-4952-aea0-31affedb7ff2
- 88ee5874-cf24-4952-aea0-31affedb7ff2
- 88ee5874-cf24-4952-aea0-31affedb7ff2
- 88ee5874-cf24-4952-aea0-31affedb7ff2
Repositories cited by this CVE
The saved CVE record references these repositories. A citation can identify affected software, a fix, or related research; it does not verify exploit code. These citations are separate from automated search matches and local association reviews.
- go-gitea/gitea CVE record citation
GitHub repository matches
Repository matches are links and GitHub-supplied metadata only. They are not verified working proof-of-concept code. Each supported query is bounded to ten pages and at most 1,000 indexed results. This is not a complete index of GitHub or public exploit research. Coverage can also be limited by provider availability, rate limits, rejected metadata, incomplete search results, manual review, and the recorded refresh time.
No stored repository matches
Repository discovery has not recorded an update for this CVE yet.
Discovery progress
0 of 3 discovery queries finished. GitHub returned 0 indexed results; 0 malformed or disallowed results were rejected.
No discovery update has been recorded for this CVE.
View all 0 stored repository matches
PUBLISHED 2026-10-14T15:17:22+00:00
MODIFIED 2026-10-14T16:17:51+00:00
INGESTED 2026-10-15T23:38:03+00:00