Live threats

All CVEs / Gitea

CVE-2018-18926Gitea

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
3.0%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Nov 4, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-384
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitea.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go code.gitea.io/gitea < 1.5.2 1.5.2 go get code.gitea.io/gitea@v1.5.2
Go code.gitea.io/gitea < 1.5.2 1.5.2 go get code.gitea.io/gitea@v1.5.2

Per OSV / GitHub Advisories (GHSA-hf6f-jq25-8gq9, GO-2022-0844). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
giteagitea< 1.5.4

Official sources

References

Links published by the sources. Open them with care.

  • github.com Mitigation Patch Third Party Advisory