CVE-2026-52797

HIGH CVSS 3.1: 8.5 EPSS 0.53%
Updated Jun 25, 2026
Gogs
Parameter Value
CVSS 8.5 (HIGH)
Fixed In 0.14.0
Type CWE-22 (Path Traversal)
Vendor Gogs
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)