Description
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.
Severity (CVSS)
| Base score | 5.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-862 — Missing Authorization
Affected products
| Vendor | Product | Versions |
|---|---|---|
| gogs | gogs | 0 to <=0.14.4 [affected] |
References
- https://github.com/gogs/gogs/pull/8626 (issue-tracking patch)
- https://github.com/gogs/gogs/commit/b84293cbdb6078593302dd12b63dcb2bbc4b899d (patch)
- https://github.com/gogs/gogs (product)
- https://github.com/gogs/gogs/blob/v0.14.4/internal/route/api/v1/repo/repo.go#L352 (technical-description)
- https://github.com/gogs/gogs/blob/v0.14.4/internal/route/repo/view.go#L338 (technical-description)
- https://github.com/gogs/gogs/blob/v0.14.4/internal/database/repo.go#L2631 (technical-description)
- https://www.vulncheck.com/advisories/gogs-through-0.14.4-private-fork-disclosure-via-fork-listing-endpoint (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 24 Nov 2026 08:03 UTC.