CVE-2026-52803

7.6High

Published Nov 26, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite

7.6CVSS

High

0CVSS v4.010

Attack vector
Network
Complexity
Low
Privileges
None
User action
Passive
Impact
High impact on confidentiality, integrity
Weakness
CWE-384

What an attacker gets

Remote attackers can hijack user accounts by predicting or forcing a known session ID. This requires the victim to log in while the attacker holds a pre-set session identifier.

Root cause

The application fails to regenerate the session ID upon successful user authentication.

Affected versions

Gogs versions prior to 0.15.0

CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Fix & remediation

Upgrade to Gogs version 0.15.0 or later. If you cannot update immediately, ensure users log out completely after sensitive sessions and monitor for suspicious login patterns.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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

Source: nvd.nist.gov/vuln/detail/CVE-2026-52803

More fully triaged vulnerabilities you may want to check next.