Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-70402

published medium CVSS 3.1 · 5.8

Gitea local code execution through writable Git hooks

Published
14 Oct 2026, 14:36:46 UTC
Updated
14 Oct 2026, 15:03:17 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Gitea — code.gitea.io/giteaGitea · 0 through 1.27.2 · Other versions: unaffected Affected Not stated Gitea
Alpine Linux edge gitea Fixed 1.27.3-r0 Package fix record

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.

en · Gitea · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.8 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Gitea Gitea 0 through 1.27.2 (affected · semver)Default: unaffected Gitea · cna

Weaknesses

1
  • CWE-732 CWE-732: Incorrect Permission Assignment for Critical Resource (Gitea · cna)

References

5

Provider assertions

2

Gitea · cna

Gitea local code execution through writable Git hooks

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
7a538718aebf9d3b3ca840919aa2831eba33a4754eb8a808e9e8bb7ebd67286d
Ingested
14 Oct 2026, 20:30:39 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected