CVE-2026-52813

CRITICAL CVSS 3.1: 10.0 EPSS 1.11%
Updated Jun 26, 2026
Gogs
Parameter Value
CVSS 10.0 (CRITICAL)
Fixed In 0.14.3
Type CWE-23 (Relative Path Traversal)
Vendor Gogs
Public PoC No

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 configuration to result in Remote Code Execution (RCE). This vulnerability is fixed in 0.14.3.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1