{"id":"CVE-2026-52799","published":"2026-06-24T20:19:32Z","modified":"2026-06-25T13:13:25Z","title":"Gogs: Missing Authorization in Attachment Download","vendor":"gogs","product":"gogs","tier":"tail","description":{"text":"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.\nIn a test environment with REQUIRE_SIGNIN_VIEW = false, we confirmed that an unauthenticated user can download attachments belonging to a private repository. This vulnerability is fixed in 0.14.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00422,"percentile":0.28232,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"},{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-p9f5-h3rx-j5qw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gogs/gogs/releases/tag/v0.14.3","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":5.65},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"gogs","affectedVersions":[{"vendor":"gogs","product":"gogs","versions":["< 0.14.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-25T13:13:20.112665Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"gogs.io/gogs","vulnerableRanges":["<0.14.3","all versions"],"patched":["0.14.3"],"from":["GHSA-p9f5-h3rx-j5qw","GO-2026-5536"],"provenance":"source"}],"summary":{"text":"Gogs, a self-hosted Git service, has a missing authorization check on its attachment download endpoint (GET /attachments/:uuid), which returns attachment files without verifying the requester's view permission for the associated issue, comment, release, or repository. An unauthenticated remote attacker can download attachments from private repositories, but only when the instance is configured with REQUIRE_SIGNIN_VIEW set to false, and no user interaction is needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:47Z"},"euvd":{"id":"EUVD-2026-39071","exploited":false,"provenance":"source"}}