high7.6
CVE-2026-52803
Gogs is an open source self-hosted Git service.
Impact
Gogs is an open source self-hosted Git service. Prior to 0.15.0, Gogs does not regenerate the session ID after successful authentication. An attacker who forces a victim to use a known session ID can hijack the session after the victim logs in and take over the account. This issue is fixed in version 0.15.0.
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed.
Affected products (Gogs)
| Product | Affected versions |
|---|---|
| Gogs | before 0.15.0 Version < 0.15.0 |