Skip to content
DayZeroHub
High Not yet writtenCVSS 7.7CVE-2026-134808

CVE-2026-134808: Gogs before 0.14.4 Path Equivalence Bypass via NTFS .git Aliases

Gogs Gogs

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-134808: high-severity vulnerability (CVSS 7.7) in Gogs Gogs.

What happened

Original description from the source: Gogs before 0.14.4 on Windows contains a path equivalence vulnerability in isRepositoryGitPath that allows authenticated users with write access to bypass .git directory protection using NTFS aliases. Attackers can create, rename or upload files via aliases like git~1 or .git::$INDEX_ALLOCATION to overwrite .git/config or hooks and execute commands as the Gogs process.

Why it matters

High severity, CVSS 7.7.

Affected products and versions

Gogs Gogs < 0.14.4

ProductVersionsFixed in
Gogs Gogs< 0.14.4—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-41

Relevant change history

  1. Published

    Preliminary advisory published.