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.
Severity (CVSS)
| Base score | 7.6 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-384 — CWE-384: Session Fixation
Affected products
| Vendor | Product | Versions |
|---|---|---|
| gogs | gogs | < 0.15.0 [affected] |
References
- https://github.com/gogs/gogs/security/advisories/GHSA-h48f-pxp7-c4mj (x_refsource_CONFIRM)
- https://github.com/gogs/gogs/commit/766ef97028cd76150aa406f9827d0d3a35400e84 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 26 Nov 2026 08:03 UTC.