Skip to content
CVE Alert: CVE-2026-134808 – Gogs

CVE Alert: CVE-2026-134808 – Gogs

Redpacketsecurity •admin • November 23, 2026

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.

**Risk verdict:** High-impact but conditional risk to Windows-hosted code services; urgency cannot be elevated without exploitation or likelihood data.

**Why this matters:** Successful abuse could let a repository contributor alter Git configuration or hooks, turning repository write access into command execution under the service account. That could expose hosted source and secrets, tamper with projects, or disrupt the service; the extent of host impact depends on the service account’s permissions.

**Most likely attack path:** A remote attacker needs an authenticated account with repository write access and a Windows-backed deployment where NTFS alias behaviour applies. No user interaction is required, but the high complexity and environmental prerequisite reduce the likelihood of opportunistic exploitation. Scope is unchanged, though code execution as the service account may provide a route to other accessible systems or credentials.

**Who is most exposed:** Organisations running self-hosted code collaboration services on Windows, especially those granting write access to external contributors or automation accounts. Linux deployments are not indicated as exposed to this path.

Alert on repository writes or renames targeting Git metadata through alias-like paths.

Review Git configuration and hook changes against expected baselines.

Investigate unexpected child processes spawned by the service account.

Check service-account activity for unusual file, network, or credential access.

Mitigation and prioritisation

Upgrade to the latest fixed release; prioritise Windows instances.

Until patched, restrict repository write access and disable untrusted contributions where feasible.

Limit service-account permissions and isolate the service from sensitive systems.

Test the update in staging, then roll out promptly with repository and hook integrity checks.

KEV, SSVC exploitation, PoC, and EPSS data were not provided; verify these before setting urgency.

A considerable amount of time and effort goes into maintaining this website, creating backend automation and creating new features and content for you to make actionable intelligence decisions. Everyone that supports the site helps enable new functionality.

If you like the site, please support us on Patreon or Buy Me A Coffee using the buttons below.

Extracted Entities

Companies (1)

Platforms (1)