CVE-2026-77918: Gogs Missing Authorization
Published 2026-11-24 · Updated 2026-11-24 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — apply the vendor fix or mitigation on your normal schedule.
What to do
- The advisory lists versions through 0.14.4 as affected and does not name a fixed release. Check the references below for a newer version of Gogs or a vendor mitigation.
- Until it is patched, restrict network access to Gogs and review which accounts can log in to it.
- Restrict access to the affected feature and review logs for use by accounts that should not have it.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Gogs | ≤ 0.14.4 | Not stated in the advisory |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker needs an ordinary low-privileged account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact is limited: confidentiality is rated low.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | Low | The attacker needs an ordinary low-privileged account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | Low | Partial loss of confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness: Missing Authorization
The software performs an action without checking that the caller is allowed to, so lower-privileged or anonymous users can use it.
Classified as CWE-862.
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/gogs/gogs/commit/b84293cbdb6078593302dd12b63dcb2bbc4b899d
- Patchhttps://github.com/gogs/gogs/pull/8626
- Advisoryhttps://www.vulncheck.com/advisories/gogs-through-0.14.4-private-fork-disclosure-via-fork-listing-endpoint
- Referencehttps://github.com/gogs/gogs
- Referencehttps://github.com/gogs/gogs/blob/v0.14.4/internal/database/repo.go#L2631
- Referencehttps://github.com/gogs/gogs/blob/v0.14.4/internal/route/api/v1/repo/repo.go#L352
- Referencehttps://github.com/gogs/gogs/blob/v0.14.4/internal/route/repo/view.go#L338