{"description":"Trending threats, MITRE ATT\u0026CK coverage, and detection metadata. Fed continuously.","favicon":"https://feed.craftedsignal.io/favicon-32x32.png","feed_url":"https://feed.craftedsignal.io/tags/cve-2026-134808/feed.json","home_page_url":"https://feed.craftedsignal.io/","icon":"https://feed.craftedsignal.io/apple-touch-icon.png","items":[{"_cs_actors":[],"_cs_cpes":["cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*"],"_cs_cves":[{"cvss":7.5,"id":"CVE-2026-134808"}],"_cs_exploited":false,"_cs_has_poc":true,"_cs_poc_references":["https://sploitus.com/exploit?id=1AABA198-7140-5123-BC1B-D22CF17AFB3C\u0026utm_source=rss\u0026utm_medium=rss"],"_cs_products":["Gogs"],"_cs_severities":["high"],"_cs_tags":["cve-2026-134808","path-traversal","windows","gogs","rce"],"_cs_type":"advisory","_cs_vendors":["Gogs"],"content_html":"\u003ch2 id=\"overview\"\u003eOverview\u003c/h2\u003e\n\u003cp\u003eGogs versions before 0.14.4 running on Windows contain a path equivalence vulnerability in the \u003ccode\u003eisRepositoryGitPath\u003c/code\u003e function. The application attempts to block uploads into \u003ccode\u003e.git\u003c/code\u003e 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 (\u003ccode\u003egit~1\u003c/code\u003e) or alternate data streams (\u003ccode\u003e.git::$INDEX_ALLOCATION\u003c/code\u003e) to bypass this check. Successfully bypassing the filter allows an attacker to overwrite sensitive files within the repository's \u003ccode\u003e.git\u003c/code\u003e directory, such as \u003ccode\u003econfig\u003c/code\u003e or hooks, leading to command execution as the Gogs process.\u003c/p\u003e\n\u003ch2 id=\"attack-chain\"\u003eAttack Chain\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eAttacker authenticates to a Gogs instance with write access to a repository.\u003c/li\u003e\n\u003cli\u003eAttacker crafts a file upload request with a destination path containing an NTFS alias, such as \u003ccode\u003erepo/git~1/config\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eGogs processes the upload and passes the path to the vulnerable \u003ccode\u003eisRepositoryGitPath\u003c/code\u003e check.\u003c/li\u003e\n\u003cli\u003eThe check fails to normalize the NTFS alias and incorrectly identifies the path as benign.\u003c/li\u003e\n\u003cli\u003eThe application proceeds with the write operation, effectively targeting the real \u003ccode\u003e.git/config\u003c/code\u003e file instead of the intended location.\u003c/li\u003e\n\u003cli\u003eThe overwritten file is utilized by the Git service or system, resulting in unauthorized configuration changes or arbitrary code execution.\u003c/li\u003e\n\u003c/ol\u003e\n\u003ch2 id=\"impact\"\u003eImpact\u003c/h2\u003e\n\u003cp\u003eSuccessful 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.\u003c/p\u003e\n\u003ch2 id=\"recommendation\"\u003eRecommendation\u003c/h2\u003e\n\u003cp\u003eUpgrade Gogs to version 0.14.4 or later immediately. This version introduces an NTFS-aware path matcher (\u003ccode\u003eisDotGit\u003c/code\u003e) that correctly handles 8.3 short names, alternate data streams, and case-insensitive variants, mitigating the path traversal vulnerability.\u003c/p\u003e\n","date_modified":"2026-11-23T12:27:52Z","date_published":"2026-11-23T12:27:52Z","id":"https://feed.craftedsignal.io/briefs/2026-11-gogs-path-traversal-cve-2026-134808/","summary":"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.","title":"Gogs: Path traversal via NTFS aliases in repository uploads (CVE-2026-134808)","url":"https://feed.craftedsignal.io/briefs/2026-11-gogs-path-traversal-cve-2026-134808/"}],"language":"en","title":"CraftedSignal Threat Feed - Cve-2026-134808","version":"https://jsonfeed.org/version/1.1"}