ADVISORIES

Vulnerability

CVE-2026-52797

Gogs is an open source self-hosted Git service. Prior to 0.14.0, as an authorized user, an intruder can dictate the value which is passed to the git diff command which, together with bypassing the filtering of the passed value, allows the user to bypass the target directory and write the result of the comparison to any arbitrary path. This vulnerability is fixed in 0.14.0.

3 advisories report this vulnerability, across 2 ecosystems.

High severity All Go 2openSUSE 1

Advisories in Go

  • GHSA-pm6v-2h4w-4rp2

    Gogs: Overwriting critical files results in a denial of service

    High CVE-2026-52797 Go Updated 21 July 2026
  • GO-2026-5545

    Gogs: Overwriting critical files results in a denial of service in gogs.io/gogs

    CVE-2026-52797 Go Updated 25 June 2026

References