CVE 8.5 HIGH

Gogs: Overwriting critical files results in a denial of service_CVE-2026-52797

8.5 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H

Description

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.

AI Analysis

An authorized user can bypass the target directory and write the result of the comparison to any arbitrary path, allowing for a denial of service.

Basic Information

ID CVE-2026-52797
Source GitHub_M
Published Jun 24, 2026 at 20:35

Affected Product

Vendor gogs
Product gogs
Version < 0.14.0
Affected Versions gogs gogs < 0.14.0

CWE Classification

AI Assessment

AI Score 8.5 / 10
AI Severity High
Vendor Gogs
Product Gogs
Version < 0.14.0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.