{"id":"CVE-2026-52797","published":"2026-06-24T20:35:09Z","modified":"2026-06-25T12:37:15Z","title":"Gogs: Overwriting critical files results in a denial of service","vendor":"gogs","product":"gogs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0053,"percentile":0.38212,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-pm6v-2h4w-4rp2","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":7.64},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"gogs","affectedVersions":[{"vendor":"gogs","product":"gogs","versions":["< 0.14.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-25T12:37:04.311359Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"gogs.io/gogs","vulnerableRanges":["<0.14.0","all versions"],"patched":["0.14.0"],"from":["GHSA-pm6v-2h4w-4rp2","GO-2026-5545"],"provenance":"source"}],"summary":{"text":"Gogs, an open source self-hosted Git service, contains a path traversal flaw in how it handles the value passed to the git diff command.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:31Z"},"euvd":{"id":"EUVD-2026-39085","exploited":false,"provenance":"source"}}