All vulnerabilities

Servers and applications

CVE-2018-18925

Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a ".." session-file forgery in the file session provider in file.go. This is related to session ID handling in the go-macaron/session code for Macaron.

Severity
Critical 9.8
Published
4 Nov 2018
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
31% in the next 30 daysHigher than 98% of CVEs. EPSS by FIRST, 10 Nov 2026
Weakness
Session fixation (CWE-384)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Sources
NVD

Affected software

SoftwareAffected versions
GogsServers and applications · cpe:a:gogs:gogs
  • Every version up to 0.11.66

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2018-18925
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2018-18925