Auth bypass in Gogs
CVE-2026-77918
- CVSS v3
- 4.3 Medium
- Public exploits
- 2 repositories
- EPSS
- 0.006 · 41.0th percentile
- Published
- 2026-11-24
Gogs through 0.14.4 contains an information disclosure vulnerability that allows authenticated users to view private forks by querying fork listings without per-fork read checks. Attackers with read access to a private base repository can call GET /api/v1/repos/{owner}/{repo}/forks or the Forks web handler to obtain other users' private fork owners, names, descriptions and clone URLs.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.006, 41.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- googlesky/CVE-2026-77918 (last pushed 2026-11-25): Gogs through 0.14.4: fork listing emits private parent with hardcoded Pull permission — private fork metadata disclosed. Verbatim guard from b84293c: parent disclosed on vuln, omitted on fixed
- z3r0s6/gogs-private-fork-disclosure-CVE-2026-77918 (last pushed 2026-11-24)
References
- github.com/gogs/gogs/pull/8626 (issue-tracking, patch)
- github.com/gogs/gogs/commit/b84293cbdb6078593302dd12b63dcb2bbc4b899d (patch)
- github.com/gogs/gogs (product)
- github.com/gogs/gogs/blob/v0.14.4/internal/route/api/v1/repo/repo.go (technical-description)
- github.com/gogs/gogs/blob/v0.14.4/internal/route/repo/view.go (technical-description)
- github.com/gogs/gogs/blob/v0.14.4/internal/database/repo.go (technical-description)
- www.vulncheck.com/advisories/gogs-through-0.14.4-private-fork-disclosure-via-fo… (third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.