Skip to main content
← All vulnerabilities
CVE-2026-52797GO-2026-5545GHSA-PM6V-2H4W-4RP2

Gogs: Overwriting critical files results in a denial of service

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.14.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gogs gogs

    fixed in 0.14.0

  • gogs.io/gogsGo

    All versions

  • gogs.io/gogsGo

    fixed in 0.14.0

References 1

GitHub · gogs/gogs