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
VendorProductAffected 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.
Type
CWE-384Session Fixation
Timeline
Published26 Nov 2026
Updated26 Nov 2026
First seen26 Nov 2026
Sources
CVE-2026-52803 · MITRE
Track software like this
Free during beta