All vulnerabilities

Servers and applications

CVE-2018-18926

Gitea before 1.5.4 allows remote code execution because it does not properly validate session IDs. 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
Fixed in
1.5.4
Exploit chance
3% in the next 30 daysHigher than 87% 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
GiteaServers and applications · cpe:a:gitea:gitea
  • Every version before 1.5.4

References

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