Security mailing lists by PureSourceCode

CVE-2018-18926

CRITICAL 9.8CVSS 3.0

Gitea Remote Code Execution (RCE)

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.

Published
4 Nov 2018
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-384CWE-94
Also known as
GHSA-hf6f-jq25-8gq9GO-2022-0844
Sources
NVDJSONOSV GHSA-hf6f-jq25-8gq9JSONOSV GO-2022-0844JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gitea gitea
cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
< 1.5.4 1.5.4
OSV Go code.gitea.io/gitea < 1.5.2 1.5.2

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 4 Nov 2018)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Feb 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.