Auth bypass in Gogs

CVE-2026-52799

Gogs is an open source self-hosted Git service. Prior to 0.14.3, GET /attachments/:uuid returns the raw attachment file without verifying whether the requester has view permission for the associated Issue/Comment/Release or the repository…

Vulnerability class: IDOR (Insecure Direct Object Reference)

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

  • Gogs — versions < 0.14.3

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-52799?
CVE-2026-52799 is a high-severity vulnerability in Gogs, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 7.5/10. Published 2026-06-24.
How severe is CVE-2026-52799?
High severity. CVSS v3 base score is 7.5 out of 10.