CVE-2026-52813

Critical

Description

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.

SeverityCritical
CVSS10.0
Exploit probability—
ProductGogs.io/gogs
PublishedJun 24, 2026
First seenJun 24, 2026
Weakness typeCWE-23CWE-23

How to fix

Update
  • gogs.io/gogs0.14.3 or later

Affected products

ProductAffected versionsFixed in
gogs.io/gogsGov < 0.14.3, No range specified0.14.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.