Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-77918: medium-severity vulnerability (CVSS 5.3) in gogs gogs.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 5.3.
Affected products and versions
gogs gogs <= 0.14.4
| Product | Versions | Fixed in |
|---|---|---|
| gogs gogs | <= 0.14.4 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/gogs/gogs/pull/8626 — CVE Program
- https://github.com/gogs/gogs/commit/b84293cbdb6078593302dd12b63dcb2bbc4b899d — CVE Program
- https://github.com/gogs/gogs — CVE Program
- https://github.com/gogs/gogs/blob/v0.14.4/internal/route/api/v1/repo/repo.go#L352 — CVE Program
- https://github.com/gogs/gogs/blob/v0.14.4/internal/route/repo/view.go#L338 — CVE Program
- https://github.com/gogs/gogs/blob/v0.14.4/internal/database/repo.go#L2631 — CVE Program
- https://www.vulncheck.com/advisories/gogs-through-0.14.4-private-fork-disclosure-via-fork-listing-endpoint — CVE Program
Weaknesses (CWE): CWE-862
Relevant change history
Published
Preliminary advisory published.