Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
CVE-2026-52803: Gogs allows account takeover after login
CVE-2026-52803 · published today
Summary
Gogs versions before 0.15.0 do not create a new session identifier when a user signs in. If an attacker can make a user start with a known session ID, the attacker can later use that same ID to hijack the account once the user logs in. Updating Gogs to version 0.15.0 or later resolves the problem.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| gogs | gogs | < 0.15.0 |
Original advisory text
Gogs: Session Fixation via Missing Session ID Regeneration on Sign-In
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.
References
- https://github.com/gogs/gogs/security/advisories/GHSA-h48f-pxp7-c4mj x_refsource_CONFIRM
- https://github.com/gogs/gogs/commit/766ef97028cd76150aa406f9827d0d3a35400e84 x_refsource_MISC
Type
CWE-384Session Fixation
Timeline
Published26 Nov 2026
Updated26 Nov 2026
First seen26 Nov 2026
Track software like this
Free during beta