Gitea · Gitea · published 2026-10-14

CVE-2026-70402Gitea local code execution through writable Git hooks

Routine No exploitation evidence; EPSS 0.2%.

CVE-2026-70402 is not known to be exploited in the wild. EPSS estimates a 0.2% chance of exploitation in the next 30 days, higher than 8% of all CVEs. This Gitea vulnerability: CVSS 5.8 (v3.1). Fixed upstream in Gitea 1.27.3. Routine: patch when convenient.

Share this

Remediation#

Fixed upstream in Gitea 1.27.3.

Patch events

  1. This monthSecurity release

    DevOpsGitea

    Gitea security release: 1.27.3

    Upgrade to 1.27.3

    Why: CVE-2026-73504: Public proof-of-concept exists (SSVC exploitation: poc).

Exploit intelligence#

SignalValueSource
Known exploitedNoCISA KEV
Ransomware use—CISA KEV
EPSS (30-day exploitation probability)0.2% (9th pct)FIRST EPSS v2026.06.15
CVSS base score5.8 (v3.1)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
CNA / CISA ADP
SSVC exploitationnoneCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impactpartialCISA Vulnrichment

Affected versions (from the CVE record)#

Description (from the CVE record)#

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.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →