CVE-2026-52803: Gogs: Session Fixation via Missing Session ID Regeneration on Sign-In

Published Nov 26, 2026
·
Updated

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.

Affected Software

1 affected component
Gogs Gogs<0.15.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Gogs to a version that resolves this vulnerability.

    Fixed in 0.15.0

Event History

Nov 26, 2026
CVE Published
via MITRE·12:54 AM
Data Sourced
via MITRE·12:54 AM
DescriptionWeakness
Data Sourced
via OSV·12:54 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which Gogs deployments are affected?

Gogs versions prior to 0.15.0 are affected. The issue applies to deployments where an attacker can cause a victim to use a session ID known to the attacker before the victim signs in.

2

What does an attacker need to do to exploit this issue?

The attacker must force the victim to use a known session ID and then wait for the victim to authenticate. Because the session ID is not regenerated after sign-in, the attacker can use that known ID to hijack the authenticated session and take over the account.

3

What is the remediation?

Upgrade Gogs to version 0.15.0, which fixes session ID regeneration after successful authentication.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203