CVE-2026-70402
CVE-2026-70402 · Gitea local code execution through writable Git hooks
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
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.
CVSS 5.8 · Mittel · EPSS 0,2%
- Veröffentlicht
- Aktualisiert
Betroffene Produkte und Versionen
gitea
- Softwareversionen
- ≥ 0, ≤ 1.27.2: Betroffen (semver)
Keine Korrektur veröffentlicht
Originalquellen
- https://github.com/go-gitea/gitea/security/advisories/GHSA-pq8x-xpgp-rvmh
- https://blog.gitea.com/release-of-1.27.3/
- https://github.com/go-gitea/gitea/pull/39008
- https://github.com/go-gitea/gitea/pull/39016
- https://github.com/go-gitea/gitea/releases/tag/v1.27.3
- https://nvd.nist.gov/vuln/detail/CVE-2026-70402