Advisory record · GHSA-p9f5-h3rx-j5qw

Gogs Missing Authorization in Attachment Download

CVSS 7.5 HighEPSS 0.0042 · 37th percentile

Published by the GitHub Advisory Database at 22 Jun 2026, 23:59 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
gogs.io/gogsGo<0.14.30.14.3
Identifiers
GHSA-p9f5-h3rx-j5qw · CVE-2026-52799 · GO-2026-5536
Weakness (CWE)
CWE-639 · CWE-862
Published
22 Jun 2026
Updated
21 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Gogs versions before 0.14.3 are affected. The attachment download endpoint returns files based only on their UUID and does not check whether the requester can view the parent issue, comment, release, or repository, so attachments in private repositories can be downloaded by users without access. An attacker who knows an attachment's UUID can retrieve the file, and when sign-in is not required for viewing, no account is needed. Upgrade to Gogs 0.14.3. No other workaround is listed.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0042, the 37th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:05 UTC First seen by agentprime
  2. 31 Oct 2026, 15:05 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.