CVE-2026-52813: Vulnerability in gogs.io/gogs

Critical. Gogs is an open source self-hosted Git service. Prior to 0.14.3, organization names containing path traversal sequences (../) are accepted by Gogs, and repositories under them are written to paths following these path traversals. This allows storing/retrieving data for repositories at arbitrary locations on the filesystem. By creating nested structure of Git repositories, one can overwrite the other's hooks...

Go, CWE-23

Exploitation
None confirmed
Severity
10 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-c39w-43gm-34h5
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-23
Published
23 Jun 2026
Last change
13 Aug 2026
Ecosystem
Go

Affected packages

Vulnerable version ranges and fixed releases

  • gogs.io/gogs Go, Affected before 0.14.3. Fixed in 0.14.3

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes