Tag

Gogs

All articles tagged with #gogs

Gogs 0.14.4 Flaw Exposes Private Fork Details to Authenticated Users
cybersecurity10 hours ago

Gogs 0.14.4 Flaw Exposes Private Fork Details to Authenticated Users

A medium-severity vulnerability in Gogs versions up to 0.14.4 allows authenticated users to view details of private forks by querying fork listing endpoints without proper per-fork authorization checks. The flaw, identified as CVE-2026-77918, exposes owner names, descriptions, and clone URLs of private repositories to attackers with read access to the base repository. A patch is available via a pull request on GitHub.

Gogs 0.14.4 Patch Fixes Windows Path Bypass Allowing Command Execution
security1 day ago

Gogs 0.14.4 Patch Fixes Windows Path Bypass Allowing Command Execution

A high-severity vulnerability in Gogs versions prior to 0.14.4 allows authenticated users with write access to bypass .git directory protections on Windows systems. By exploiting NTFS path equivalence aliases, attackers can overwrite critical configuration files and execute arbitrary commands. The issue, rated 7.5 on the CVSS scale, has been resolved in the latest release.

Gogs zero-day opens door to remote code execution on default-config servers
security5 months ago

Gogs zero-day opens door to remote code execution on default-config servers

Security researchers warn of a critical zero-day in the Gogs self-hosted Git service that enables remote code execution on internet-facing instances via an argument-injection chain in the Merge() path. The flaw affects current releases (0.14.2, 0.15.0+dev) and can be exploited starting from a registered account on servers with open registration and unlimited repository creation, potentially allowing an attacker to run arbitrary code, access private data, and pivot to other systems. There is no patch or CVE assigned yet; thousands of Gogs servers are exposed online, highlighting the risk. This follows a prior Gogs RCE patch for CVE-2025-8110 and has prompted caution from security agencies.

Gogs RCE Flaw Lets Authenticated Users Run Code via Git Rebase
security5 months ago

Gogs RCE Flaw Lets Authenticated Users Run Code via Git Rebase

Rapid7 reports a critical Gogs vulnerability (CVSS 9.4) that lets any authenticated user achieve remote code execution by crafting a pull request with a malicious branch name that injects a --exec command into git rebase during the Rebase before merging step; no admin rights are required and an attacker can trigger it simply by registering and creating a repository with rebase merging enabled. If unpatched (as of March 17, 2026), this could allow server compromise, access to all repos, credential dumps, cross-tenant data breaches, or further network access. Mitigations include disabling new registrations, restricting repository creation, and auditing rebase merge settings; a Metasploit module exists to automate the exploit. Estimates put internet-facing Gogs instances around 1,141, likely higher in internal deployments behind VPNs.