Session fixation in Gogs lets attackers take over accounts
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-384.
Summary
Gogs before 0.15.0 does not regenerate the session ID after a successful sign-in. 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, which is classified as CWE-384. The CVSS 4.0 vector shows that the attack is remote, needs user interaction and gives high confidentiality and integrity impact on the vulnerable system.
Written with Claude Haiku 5.5 from the sources below · 2026-11-26
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Update Gogs to version 0.15.0, which fixes the issue. The sources list no vendor advisory identifier for this fix.
Written with Claude Haiku 5.5 from the sources below · 2026-11-26
- Fix · CNA gogs (gogs) Fixed in 0.15.0
Timeline
- 2026-11-26 Threatist record created from CVE-2026-52803
- 2026-11-27 CISA SSVC decision points changed
References
More Gogs vulnerabilities
- TI-2025-07419 Symlink flaw in Gogs PutContents API lets attackers overwrite files KEVCVSS 4.0HIGH 8.7
- TI-2026-37922 Gogs: Path Traversal in organization name results in RCE through Git hooks CVSS 3.1CRITICAL 10.0
- TI-2022-01876 OS Command Injection in gogs/gogs CVSS 3.1CRITICAL 9.8
- TI-2022-01744 Remote Command Execution in gogs/gogs CVSS 3.1CRITICAL 10.0
- TI-2025-39562 Gogs's update .git/config file allows remote command execution CVSS 4.0CRITICAL 9.3
- TI-2026-20951 Gogs: Cross-repository LFS object overwrite via missing content hash verification CVSS 3.1CRITICAL 9.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences