Read the docs

Session fixation in Gogs lets attackers take over accounts

Priority LOW 36CWE-384Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00568 40th percentileScored 2026-11-30
Fix Fixed gogs (gogs): 0.15.0

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

VendorProductAffected versionsFixed inStatusSource
Gogsgogsbefore 0.15.00.15.0Patch availableCNA
  • gogs VendorGogs Affected before 0.15.0 Fixed in 0.15.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*——Gogs
  • cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:* Versions — — ·Gogs

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

  1. 2026-11-26 Threatist record created from CVE-2026-52803
  2. 2026-11-27 CISA SSVC decision points changed

References

  • 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
See all 79 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences