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.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-18926.json"
[ { "events": [ { "introduced": "0" }, { "fixed": "1.5.4" } ] }, { "events": [ { "introduced": "0" }, { "fixed": "1.5.4" } ] } ]