Live threats

All CVEs / Gitea

CVE-2021-45330Gitea

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.4%
probability of exploitation in 30 days · percentile 74
Auth required
No
Published
Feb 9, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-459
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

An issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies not being deleted and the session remains valid on the server side for reuse.

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.6.0 1.6.0 go get code.gitea.io/gitea@v1.6.0
Go code.gitea.io/gitea < 1.6.0 1.6.0 go get code.gitea.io/gitea@v1.6.0

Per OSV / GitHub Advisories (GHSA-pg38-r834-g45j, GO-2022-0982). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
giteagitea≤ 1.15.7

Official sources

References

Links published by the sources. Open them with care.