CVE-2026-70402

Status: Received

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.

Published
October 14, 2026 3:17 PM
Last Modified
October 14, 2026 3:17 PM
Source
88ee5874-cf24-4952-aea0-31affedb7ff2

Weaknesses (CWE)

CWE-732

References

Contact Us

Get the CyboWatch SIEM platform, hosting, and 24×7 SOC analysts. Send an enquiry, or call or email us to get started.

Send an enquiry