PoC Monitor
← All CVEs
CVE-2026-52797published 24 Jun 2026 20:35 UTCData: JSON · API

Gogs

Gogs: Overwriting critical files results in a denial of service

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.5high · scored by CNA · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

gogs gogs
  • < 0.14.0

Fixed in 0.14.0

Mitigation

Upgrade gogs to 0.14.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published24 Jun 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.