๐Ÿ” CVE Alert

CVE-2026-52797

HIGH 8.5

Gogs: Overwriting critical files results in a denial of service

CVSS Score
8.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-22
Vendor gogs
Product gogs
Published Jun 24, 2026
Stay Ahead of the Next One

Get instant alerts for gogs gogs

Be the first to know when new high vulnerabilities affecting gogs gogs are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
High

Affected Versions

gogs / gogs
< 0.14.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/gogs/gogs/security/advisories/GHSA-pm6v-2h4w-4rp2