Gogs Vulnerability Allows Remote Code Execution via Path Traversal
Article Content
- •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.
Ask AI about this cluster
Answers cite the sources they use
Timeline
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
Continue Reading
CISA Mandates Urgent Patching of Five Critical Flaws Exploited by Flax Typhoon The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has ordered federal agencies to patch five critical vulnerabilities by October 11, 2026, following exploitation by the China-linked hacking group Flax Typhoon. The vulnerabilities, added to CISA's Known Exploited Vulnerabilities (KEV) catalog, include…
Critical Zero-Day Exploit Found in BeyondTrust Remote Support BeyondTrust disclosed a critical vulnerability, CVE-2026-102764, in its Remote Support product, exploited by the suspected China-linked group ARMORY CASTLE since August 2026. This flaw, with a CVSS score of 9.3, allows attackers to perform arbitrary file uploads and gain host-level control without requiring…