<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Cve-2026-134808 - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/cve-2026-134808/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Mon, 23 Nov 2026 12:27:52 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/cve-2026-134808/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Gogs: Path traversal via NTFS aliases in repository uploads (CVE-2026-134808)</title><link>https://feed.craftedsignal.io/briefs/2026-11-gogs-path-traversal-cve-2026-134808/</link><pubDate>Mon, 23 Nov 2026 12:27:52 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-11-gogs-path-traversal-cve-2026-134808/</guid><description>Gogs versions before 0.14.4 on Windows are vulnerable to a path traversal attack that allows authenticated users with write access to overwrite critical Git metadata using NTFS aliases, enabling potential remote code execution.</description><content:encoded><![CDATA[<h2 id="overview">Overview</h2>
<p>Gogs versions before 0.14.4 running on Windows contain a path equivalence vulnerability in the <code>isRepositoryGitPath</code> function. The application attempts to block uploads into <code>.git</code> directories, but the filtering logic only performed literal comparison after trimming trailing dots and spaces. An attacker can use NTFS-specific aliases such as 8.3 short names (<code>git~1</code>) or alternate data streams (<code>.git::$INDEX_ALLOCATION</code>) to bypass this check. Successfully bypassing the filter allows an attacker to overwrite sensitive files within the repository's <code>.git</code> directory, such as <code>config</code> or hooks, leading to command execution as the Gogs process.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker authenticates to a Gogs instance with write access to a repository.</li>
<li>Attacker crafts a file upload request with a destination path containing an NTFS alias, such as <code>repo/git~1/config</code>.</li>
<li>Gogs processes the upload and passes the path to the vulnerable <code>isRepositoryGitPath</code> check.</li>
<li>The check fails to normalize the NTFS alias and incorrectly identifies the path as benign.</li>
<li>The application proceeds with the write operation, effectively targeting the real <code>.git/config</code> file instead of the intended location.</li>
<li>The overwritten file is utilized by the Git service or system, resulting in unauthorized configuration changes or arbitrary code execution.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows authenticated users to achieve arbitrary file overwrite within the repository metadata. This can lead to full compromise of the repository, unauthorized configuration changes, and execution of arbitrary code with the privileges of the Gogs service.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Upgrade Gogs to version 0.14.4 or later immediately. This version introduces an NTFS-aware path matcher (<code>isDotGit</code>) that correctly handles 8.3 short names, alternate data streams, and case-insensitive variants, mitigating the path traversal vulnerability.</p>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>cve-2026-134808</category><category>path-traversal</category><category>windows</category><category>gogs</category><category>rce</category></item></channel></rss>