---
title: "CVE-2026-52813: Gogs has Path Traversal in organization name that results in RCE through Git hooks"
url: https://erroneo.us/security/cve/CVE-2026-52813/
description: "CVE-2026-52813 (gogs.io/gogs (Go)): Gogs is an open source self-hosted Git service. Prior to 0.14.3, organization names containing path traversal sequences…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-06-24
date_modified: 2026-08-13
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-52813"
kev: false
cvss: 10
epss: 0.01107
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-52813: Gogs has Path Traversal in organization name that results in RCE through Git hooks

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 1.1% , percentile 66: FIRST’s model estimates a 1.1% chance of exploitation activity in the next 30 days, higher than 66% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes gogs.io/gogs (Go) < 0.14.3, fixed in 0.14.3 . Check your lockfile, including transitive dependencies.

## 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.

## Affected packages

- Go `gogs.io/gogs` < 0.14.3 → fixed: 0.14.3

## Affected products (CVE record)

- gogs gogs: < 0.14.3

## Severity

- GitHub_M CVSS 3.1: 10 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 10.0 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 1.11% probability of exploitation activity in the next 30 days; percentile 66.

## Sources

- [GitHub Advisory GHSA-c39w-43gm-34h5](https://github.com/advisories/GHSA-c39w-43gm-34h5)
- [CVE.org record CVE-2026-52813](https://www.cve.org/CVERecord?id=CVE-2026-52813)
- [NVD entry CVE-2026-52813](https://nvd.nist.gov/vuln/detail/CVE-2026-52813)
- [github.com](https://github.com/gogs/gogs/security/advisories/GHSA-c39w-43gm-34h5)
- [github.com](https://github.com/gogs/gogs/pull/8334)
- [github.com](https://github.com/gogs/gogs/commit/f6acd467305943aae8403cbac81f0118dd1235d7)
- [github.com](https://github.com/gogs/gogs/releases/tag/v0.14.3)

---
Source page: https://erroneo.us/security/cve/CVE-2026-52813/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
