Skip to content
Gogs Vulnerability Allows Remote Code Execution via Path Traversal

Gogs Vulnerability Allows Remote Code Execution via Path Traversal

First seen 24 Jun 2026, 09:30 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •June 25, 2026 at 09:24 UTC
  • •Gogs allows path traversal in organization names, leading to RCE.
  • •Unsanitized input during repository creation enables arbitrary filesystem access.
  • •Users are advised to upgrade to Gogs version 0.14.3 or later to mitigate risks.

Gogs, a self-hosted Git service, has a vulnerability allowing path traversal in organization names. This flaw permits attackers to create nested Git repositories, leading to the potential for Remote Code Execution (RCE) by overwriting hooks configurations. The issue arises from unsanitized organization names during repository creation, allowing paths like ../../../../tmp/test to be used. This vulnerability affects all versions of Gogs prior to 0.14.3. The CVE-2026-52813 has been assigned to this vulnerability, highlighting its severity. Security advisories have been issued, and users are urged to update their installations. The flaw emphasizes the need for proper input sanitization in web applications.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Updated 112d ago How this analysis works

Timeline

2026-06-24
CVE-2026-52813 published
Gogs vulnerability allows path traversal in organization names, leading to RCE. Affected versions are prior to 0.14.3.
osv.dev
2026-06-24
Security advisory released
GitHub Advisories released a security advisory regarding the Gogs vulnerability, urging users to update.
Feedly
2026-06-24
Gogs vulnerability confirmed
The vulnerability was confirmed by multiple sources, detailing the exploit method and impact on users.
advisories.gitlab.com

More articles in this cluster (4)

Following this threat?

Track Gogs and CVE-2026-52813 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed