CVE-2026-52813CWE-23

Gogs: Path Traversal in organization name results in RCE through Git hooks

Critical · published June 24, 2026

CVSS v3.1
10.0
EPSS
1%
Percentile
65.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01107 · 65.6th percentile
Weakness
CWE-23 · Relative Path Traversal
Published
2026-06-24T20:33Z
EPSS history
Timeline
  • 24 JUN 20:33Z
    Gogs: Path Traversal in organization name results in RCE through Git hooks
    cvelistv5