# CVE-2026-52813 — gogs

> As of 2026-06-26, CVE-2026-52813 is a CRITICAL-severity vulnerability in gogs, CVSS v3.1 10, EPSS 0.9% (57.5th percentile). Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2026-52813, most recently “Gogs Critical RCE via Path Traversal in Organization Names (CVE-2026-52813)”.

**Last updated:** 2026-06-26

## What is CVE-2026-52813?

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 classifies CVE-2026-52813 under weakness class [CWE-23](https://cwe.mitre.org/data/definitions/23.html). Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction, and has high impact on confidentiality, integrity, availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 81 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 10 — CRITICAL (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`)
- **EPSS (FIRST):** 0.9% probability of exploitation in the next 30 days, higher than 57.5% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 9.3/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2026-06-24, last modified 2026-06-26

## Is CVE-2026-52813 being exploited?

Weaponised exploit code for CVE-2026-52813 is publicly available. 2 public proof-of-concept repositories are tracked for this identifier.

- [iqx6889/CVE-2026-52813-Gogs-RCE](https://github.com/iqx6889/CVE-2026-52813-Gogs-RCE) (github)
- [trickest/cve](https://github.com/trickest/cve/blob/main/2026/CVE-2026-52813.md) (trickest)

## Affected products and versions

- **gogs**: gogs

Affected software packages:

- `go:gogs.io/gogs` — patched in 0.14.3

## How to fix CVE-2026-52813

Fixed versions are recorded for 1 package: go:gogs.io/gogs 0.14.3. No vendor patch reference has been recorded for CVE-2026-52813 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.

## Threat activity tracking CVE-2026-52813

1 tracked threat in the Threadlinqs corpus references CVE-2026-52813, either in the campaign’s CVE list or as an indicator on the campaign record.

- [Gogs Critical RCE via Path Traversal in Organization Names (CVE-2026-52813)](https://intel.threadlinqs.com/threat/TL-2026-2092) — CRITICAL · 2026-08-20

## Sources

Enriched from CVE.org, NVD, FIRST EPSS, GitHub Security Advisories, public proof-of-concept repositories. Last verified by Threadlinqs on 2026-08-21. This product uses the NVD API but is not endorsed or certified by the NVD.

**Vendor advisory and patch**

- [github.com](https://github.com/gogs/gogs/security/advisories/GHSA-c39w-43gm-34h5)

**Other references**

- [github.com](https://github.com/gogs/gogs/pull/8334)
- [github.com (f6acd467305943aae8403cbac81f0118dd1235d7)](https://github.com/gogs/gogs/commit/f6acd467305943aae8403cbac81f0118dd1235d7)
- [github.com (v0.14)](https://github.com/gogs/gogs/releases/tag/v0.14.3)

Canonical: https://intel.threadlinqs.com/cve/CVE-2026-52813
Full detection coverage and IOCs for threats exploiting CVE-2026-52813 via the Threadlinqs MCP server (Purple tier): https://intel.threadlinqs.com/mcp
