Security mailing lists by PureSourceCode

CVE-2026-52797

HIGH 8.5CVSS 3.1

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.

Published
24 Jun 2026
Last modified
21 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-22
Also known as
GHSA-pm6v-2h4w-4rp2GO-2026-5545
Sources
NVDJSONOSV GHSA-pm6v-2h4w-4rp2JSONOSV GO-2026-5545JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H
OSV GitHub CVSS 3.1 HIGH 8.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go gogs.io/gogs < 0.14.0 0.14.0
OSV Go gogs.io/gogs all versions

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 24 Jun 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.