CVE-2026-134808
Deferred Deferred - Pending Action

Path Equivalence Bypass in Gogs on Windows

Vulnerability report for CVE-2026-134808, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-22

Last updated on: 2026-11-22

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-22
Last Modified
2026-11-22
Generated
2026-11-23
AI Q&A
2026-11-23
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Gogs Gogs From 0 (inc) to 0.14.4 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-41 The product is vulnerable to file system contents disclosure through path equivalence. Path equivalence involves the use of special characters in file and directory names. The associated manipulations are intended to generate multiple names for the same object.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

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

Detection Guidance

Check Gogs version on Windows systems. If version is before 0.14.4, the system is vulnerable. Look for suspicious file uploads or renames using NTFS aliases like git~1 or .git::$INDEX_ALLOCATION in logs or file systems.

Impact Analysis

If you use Gogs on Windows with a version before 0.14.4, an attacker with write access could exploit this to gain control over your repositories. They could modify configuration files or hooks, leading to unauthorized code execution or data manipulation within your Gogs instance.

Compliance Impact

This vulnerability could lead to unauthorized access or modification of sensitive data, violating GDPR's integrity and confidentiality requirements or HIPAA's safeguards for protected health information. Compliance may be compromised if attackers exfiltrate or alter regulated data.

Mitigation Strategies

Upgrade Gogs to version 0.14.4 or later to address the path equivalence vulnerability. Ensure only authorized users have write access to repositories.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-134808. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...